Changeset 176700 in webkit
- Timestamp:
- Dec 2, 2014, 4:49:19 PM (12 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
runtime/JSGlobalObject.h (modified) (1 diff)
-
runtime/JSScope.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r176676 r176700 1 2014-12-02 Michael Saboff <msaboff@apple.com> 2 3 Change CallFrame::globalThisValue() to not use CallFrame::scope() 4 https://bugs.webkit.org/show_bug.cgi?id=139202 5 6 Reviewed by Mark Lam. 7 8 Changed to use the globalThis() on the globalObject associated with the 9 callee. Moved the inline definition to JSGlobalObject.h instead of 10 including JSGlobalObject.h in JSScope.h. Also moved it as JSScope 11 objects are no longer involved in getting the value. 12 13 * runtime/JSGlobalObject.h: 14 (JSC::ExecState::globalThisValue): 15 * runtime/JSScope.h: 16 (JSC::ExecState::globalThisValue): Deleted. 17 1 18 2014-12-02 Matthew Mirman <mmirman@apple.com> 2 19 -
trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h
r176508 r176700 675 675 } 676 676 677 inline JSObject* ExecState::globalThisValue() const 678 { 679 return lexicalGlobalObject()->globalThis(); 680 } 681 677 682 inline JSObject* JSScope::globalThis() 678 683 { -
trunk/Source/JavaScriptCore/runtime/JSScope.h
r175118 r176700 245 245 } 246 246 247 inline JSObject* ExecState::globalThisValue() const248 {249 return scope()->globalThis();250 }251 252 247 inline size_t JSScope::offsetOfNext() 253 248 {
Note:
See TracChangeset
for help on using the changeset viewer.