Show
Ignore:
Timestamp:
08/20/08 13:23:52 (5 months ago)
Author:
mbensi
Message:

merge with webkit revision 35853

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/JavaScriptCore/kjs/JSGlobalObject.cpp

    r440 r447  
    4444#include "GlobalEvalFunction.h" 
    4545#include "JSGlobalObjectFunctions.h" 
     46#include "JSLock.h" 
    4647#include "Machine.h" 
    4748#include "MathObject.h" 
     
    7980JSGlobalObject::~JSGlobalObject() 
    8081{ 
     82    ASSERT(JSLock::currentThreadIsHoldingLock()); 
     83 
    8184    if (d()->debugger) 
    8285        d()->debugger->detach(this); 
     
    110113void JSGlobalObject::init(JSObject* thisValue) 
    111114{ 
     115    ASSERT(JSLock::currentThreadIsHoldingLock()); 
     116 
    112117    d()->globalData = Heap::heap(this)->globalData(); 
    113118