Changeset 119779 in webkit for trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h
- Timestamp:
- Jun 7, 2012, 6:31:21 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h
r119655 r119779 382 382 } 383 383 384 inline JSValue Structure::prototypeForLookup( ExecState* exec) const384 inline JSValue Structure::prototypeForLookup(JSGlobalObject* globalObject) const 385 385 { 386 386 if (isObject()) … … 388 388 389 389 ASSERT(typeInfo().type() == StringType); 390 return exec->lexicalGlobalObject()->stringPrototype(); 390 return globalObject->stringPrototype(); 391 } 392 393 inline JSValue Structure::prototypeForLookup(ExecState* exec) const 394 { 395 return prototypeForLookup(exec->lexicalGlobalObject()); 391 396 } 392 397
Note:
See TracChangeset
for help on using the changeset viewer.