Ignore:
Timestamp:
Jan 19, 2010, 12:25:22 AM (15 years ago)
Author:
[email protected]
Message:

Reverting r53455, breaks 2 javascriptcore tests.

Reviewed by NOBODY (build fix).

JavaScriptCore:

  • API/JSContextRef.cpp:
  • runtime/Collector.cpp:

(JSC::Heap::destroy):
(JSC::Heap::freeBlock):
(JSC::Heap::freeBlocks):
(JSC::Heap::shrinkBlocks):

WebCore:

  • bindings/js/WorkerScriptController.cpp:

(WebCore::WorkerScriptController::~WorkerScriptController):

LayoutTests:

  • fast/workers/resources/worker-gc2.js: Removed.
  • fast/workers/worker-gc2.html: Removed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSContextRef.cpp

    r53455 r53459  
    128128    if (globalData.refCount() == 2) { // One reference is held by JSGlobalObject, another added by JSGlobalContextRetain().
    129129        // The last reference was released, this is our last chance to collect.
     130        ASSERT(!globalData.heap.protectedObjectCount());
     131        ASSERT(!globalData.heap.isBusy());
    130132        globalData.heap.destroy();
    131133    } else
Note: See TracChangeset for help on using the changeset viewer.