Changeset 427 for trunk/JavaScriptCore/API/JSContextRef.cpp
- Timestamp:
- 08/01/08 14:47:24 (5 months ago)
- Files:
-
- trunk/JavaScriptCore/API/JSContextRef.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/JavaScriptCore/API/JSContextRef.cpp
r424 r427 63 63 initializeThreading(); 64 64 65 JSLock lock(true);66 67 65 JSGlobalData* globalData = toJS(group); 68 66 … … 85 83 ExecState* exec = toJS(ctx); 86 84 exec->globalData().heap->registerThread(); 87 JSLock lock(exec);88 85 89 86 gcProtect(exec->dynamicGlobalObject()); … … 94 91 { 95 92 ExecState* exec = toJS(ctx); 96 JSLock lock(exec);97 93 98 94 gcUnprotect(exec->dynamicGlobalObject());
