Changeset 58986 in webkit for trunk/JavaScriptCore/runtime
- Timestamp:
- May 7, 2010, 5:05:00 PM (15 years ago)
- Location:
- trunk/JavaScriptCore/runtime
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSActivation.cpp
r55401 r58986 135 135 } 136 136 137 bool JSActivation::isDynamicScope( ) const137 bool JSActivation::isDynamicScope(bool& requiresDynamicChecks) const 138 138 { 139 return d()->functionExecutable->usesEval(); 139 requiresDynamicChecks = d()->functionExecutable->usesEval(); 140 return false; 140 141 } 141 142 -
trunk/JavaScriptCore/runtime/JSActivation.h
r58267 r58986 48 48 virtual void markChildren(MarkStack&); 49 49 50 virtual bool isDynamicScope( ) const;50 virtual bool isDynamicScope(bool& requiresDynamicChecks) const; 51 51 52 52 virtual bool isActivationObject() const { return true; } -
trunk/JavaScriptCore/runtime/JSGlobalObject.cpp
r58267 r58986 427 427 } 428 428 429 bool JSGlobalObject::isDynamicScope( ) const429 bool JSGlobalObject::isDynamicScope(bool&) const 430 430 { 431 431 return true; -
trunk/JavaScriptCore/runtime/JSGlobalObject.h
r57120 r58986 257 257 virtual bool allowsAccessFrom(const JSGlobalObject*) const { return true; } 258 258 259 virtual bool isDynamicScope( ) const;259 virtual bool isDynamicScope(bool& requiresDynamicChecks) const; 260 260 261 261 HashSet<GlobalCodeBlock*>& codeBlocks() { return d()->codeBlocks; } -
trunk/JavaScriptCore/runtime/JSStaticScopeObject.cpp
r47022 r58986 59 59 } 60 60 61 bool JSStaticScopeObject::isDynamicScope( ) const61 bool JSStaticScopeObject::isDynamicScope(bool&) const 62 62 { 63 63 return false; -
trunk/JavaScriptCore/runtime/JSStaticScopeObject.h
r54022 r58986 52 52 virtual ~JSStaticScopeObject(); 53 53 virtual void markChildren(MarkStack&); 54 bool isDynamicScope( ) const;54 bool isDynamicScope(bool& requiresDynamicChecks) const; 55 55 virtual JSObject* toThisObject(ExecState*) const; 56 56 virtual bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&); -
trunk/JavaScriptCore/runtime/JSVariableObject.h
r54022 r58986 53 53 54 54 virtual bool isVariableObject() const; 55 virtual bool isDynamicScope( ) const = 0;55 virtual bool isDynamicScope(bool& requiresDynamicChecks) const = 0; 56 56 57 57 Register& registerAt(int index) const { return d->registers[index]; }
Note:
See TracChangeset
for help on using the changeset viewer.