Changeset 38672 in webkit for trunk/JavaScriptCore/runtime


Ignore:
Timestamp:
Nov 21, 2008, 12:09:40 PM (17 years ago)
Author:
[email protected]
Message:

Reverted fix for bug 22042 (Replace abort() with CRASH()), because it was breaking
FOR_EACH_OPCODE_ID macro somehow, making Safari crash.

File:
1 edited

Legend:

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

    r38665 r38672  
    284284    ASSERT(heapType == PrimaryHeap || heap.extraCost == 0);
    285285    // FIXME: If another global variable access here doesn't hurt performance
    286     // too much, we could CRASH() in NDEBUG builds, which could help ensure we
     286    // too much, we could abort() in NDEBUG builds, which could help ensure we
    287287    // don't spend any time debugging cases where we allocate inside an object's
    288288    // deallocation code.
     
    975975    ASSERT((primaryHeap.operationInProgress == NoOperation) | (numberHeap.operationInProgress == NoOperation));
    976976    if ((primaryHeap.operationInProgress != NoOperation) | (numberHeap.operationInProgress != NoOperation))
    977         CRASH();
     977        abort();
    978978
    979979    JAVASCRIPTCORE_GC_BEGIN();
Note: See TracChangeset for help on using the changeset viewer.