Changeset 35853 in webkit for trunk/JavaScriptCore/API/JSValueRef.cpp
- Timestamp:
- Aug 20, 2008, 12:23:06 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSValueRef.cpp
r35830 r35853 115 115 ExecState* exec = toJS(ctx); 116 116 exec->globalData().heap->registerThread(); 117 JSLock lock(exec); 117 118 118 119 JSValue* jsA = toJS(a); … … 141 142 ExecState* exec = toJS(ctx); 142 143 exec->globalData().heap->registerThread(); 144 JSLock lock(exec); 143 145 144 146 JSValue* jsValue = toJS(value); … … 174 176 ExecState* exec = toJS(ctx); 175 177 exec->globalData().heap->registerThread(); 178 JSLock lock(exec); 176 179 177 180 return toRef(jsNumber(exec, value)); … … 182 185 ExecState* exec = toJS(ctx); 183 186 exec->globalData().heap->registerThread(); 187 JSLock lock(exec); 184 188 185 189 return toRef(jsString(exec, string->ustring())); … … 197 201 ExecState* exec = toJS(ctx); 198 202 exec->globalData().heap->registerThread(); 203 JSLock lock(exec); 199 204 200 205 JSValue* jsValue = toJS(value); … … 214 219 ExecState* exec = toJS(ctx); 215 220 exec->globalData().heap->registerThread(); 221 JSLock lock(exec); 216 222 217 223 JSValue* jsValue = toJS(value); … … 231 237 ExecState* exec = toJS(ctx); 232 238 exec->globalData().heap->registerThread(); 239 JSLock lock(exec); 233 240 234 241 JSValue* jsValue = toJS(value); … … 248 255 ExecState* exec = toJS(ctx); 249 256 exec->globalData().heap->registerThread(); 257 JSLock lock(exec); 250 258 251 259 JSValue* jsValue = toJS(value); … … 257 265 ExecState* exec = toJS(ctx); 258 266 exec->globalData().heap->registerThread(); 267 JSLock lock(exec); 259 268 260 269 JSValue* jsValue = toJS(value);
Note:
See TracChangeset
for help on using the changeset viewer.