Ignore:
Timestamp:
Dec 14, 2009, 6:13:31 AM (15 years ago)
Author:
Csaba Osztrogonác
Message:

Unreviewed trivial buildfix.

Patch by Gabor Loki <[email protected]> on 2009-12-14
Fix crosses initialization of usedPrimaryBlocks for JSValue32

  • runtime/Collector.cpp:

(JSC::Heap::markConservatively):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/Collector.cpp

    r52082 r52090  
    790790        char* x = *p++;
    791791        if (isPossibleCell(x)) {
     792            size_t usedPrimaryBlocks;
    792793            uintptr_t xAsBits = reinterpret_cast<uintptr_t>(x);
    793794            xAsBits &= CELL_ALIGN_MASK;
     
    811812
    812813            // Mark the primary heap
    813             size_t usedPrimaryBlocks = primaryHeap.usedBlocks;
     814            usedPrimaryBlocks = primaryHeap.usedBlocks;
    814815            for (size_t block = 0; block < usedPrimaryBlocks; block++) {
    815816                if (primaryBlocks[block] != blockAddr)
Note: See TracChangeset for help on using the changeset viewer.