Changeset 121282 in webkit for trunk/Source/JavaScriptCore


Ignore:
Timestamp:
Jun 26, 2012, 12:55:32 PM (13 years ago)
Author:
[email protected]
Message:

[BlackBerry] Add JSC statistics into about:memory
https://bugs.webkit.org/show_bug.cgi?id=89779

Patch by Yong Li <[email protected]> on 2012-06-26
Reviewed by Rob Buis.

Fix non-JIT build on BlackBerry broken by r121196.

  • runtime/MemoryStatistics.cpp:

(JSC::globalMemoryStatistics):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r121280 r121282  
     12012-06-26  Yong Li  <[email protected]>
     2
     3        [BlackBerry] Add JSC statistics into about:memory
     4        https://bugs.webkit.org/show_bug.cgi?id=89779
     5
     6        Reviewed by Rob Buis.
     7
     8        Fix non-JIT build on BlackBerry broken by r121196.
     9
     10        * runtime/MemoryStatistics.cpp:
     11        (JSC::globalMemoryStatistics):
     12
    1132012-06-25  Filip Pizlo  <[email protected]>
    214
  • trunk/Source/JavaScriptCore/runtime/MemoryStatistics.cpp

    r121196 r121282  
    3838
    3939    stats.stackBytes = RegisterFile::committedByteCount();
    40 #if ENABLE(EXECUTABLE_ALLOCATOR_FIXED) || PLATFORM(BLACKBERRY)
     40#if ENABLE(EXECUTABLE_ALLOCATOR_FIXED) || (PLATFORM(BLACKBERRY) && ENABLE(JIT))
    4141    stats.JITBytes = ExecutableAllocator::committedByteCount();
    4242#else
Note: See TracChangeset for help on using the changeset viewer.