Changeset 35478 in webkit for trunk/JavaScriptCore/API/JSBase.cpp


Ignore:
Timestamp:
Jul 31, 2008, 5:19:22 AM (17 years ago)
Author:
[email protected]
Message:

Rubber-stamped by Maciej.

Eliminate JSLock (it was already disabled, removing the stub implementaion and all
call sites now).

File:
1 edited

Legend:

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

    r35442 r35478  
    3434#include <kjs/interpreter.h>
    3535#include <kjs/JSGlobalObject.h>
    36 #include <kjs/JSLock.h>
    3736#include <kjs/JSObject.h>
    3837
     
    4342    ExecState* exec = toJS(ctx);
    4443    exec->globalData().heap->registerThread();
    45     JSLock lock(exec);
    4644
    4745    JSObject* jsThisObject = toJS(thisObject);
     
    7068    ExecState* exec = toJS(ctx);
    7169    exec->globalData().heap->registerThread();
    72     JSLock lock(exec);
    7370
    7471    UString::Rep* scriptRep = toJS(script);
     
    9895    Heap* heap = globalData.heap;
    9996
    100     JSLock lock(globalData.isSharedInstance);
    101 
    10297    if (!heap->isBusy())
    10398        heap->collect();
Note: See TracChangeset for help on using the changeset viewer.