Changeset 35478 in webkit for trunk/JavaScriptCore/API/JSBase.cpp
- Timestamp:
- Jul 31, 2008, 5:19:22 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSBase.cpp
r35442 r35478 34 34 #include <kjs/interpreter.h> 35 35 #include <kjs/JSGlobalObject.h> 36 #include <kjs/JSLock.h>37 36 #include <kjs/JSObject.h> 38 37 … … 43 42 ExecState* exec = toJS(ctx); 44 43 exec->globalData().heap->registerThread(); 45 JSLock lock(exec);46 44 47 45 JSObject* jsThisObject = toJS(thisObject); … … 70 68 ExecState* exec = toJS(ctx); 71 69 exec->globalData().heap->registerThread(); 72 JSLock lock(exec);73 70 74 71 UString::Rep* scriptRep = toJS(script); … … 98 95 Heap* heap = globalData.heap; 99 96 100 JSLock lock(globalData.isSharedInstance);101 102 97 if (!heap->isBusy()) 103 98 heap->collect();
Note:
See TracChangeset
for help on using the changeset viewer.