Changeset 154113 in webkit for trunk/Source/JavaScriptCore/runtime/Arguments.cpp
- Timestamp:
- Aug 15, 2013, 11:49:05 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/Arguments.cpp
r154038 r154113 95 95 Arguments* thisObject = jsCast<Arguments*>(object); 96 96 if (JSValue value = thisObject->tryGetArgument(i)) { 97 slot.setValue( value);97 slot.setValue(thisObject, value); 98 98 return true; 99 99 } … … 130 130 if (JSValue value = thisObject->tryGetArgument(i)) { 131 131 RELEASE_ASSERT(i < PropertyName::NotAnIndex); 132 slot.setValue( value);132 slot.setValue(thisObject, value); 133 133 return true; 134 134 } 135 135 136 136 if (propertyName == exec->propertyNames().length && LIKELY(!thisObject->m_overrodeLength)) { 137 slot.setValue( jsNumber(thisObject->m_numArguments));137 slot.setValue(thisObject, jsNumber(thisObject->m_numArguments)); 138 138 return true; 139 139 } … … 141 141 if (propertyName == exec->propertyNames().callee && LIKELY(!thisObject->m_overrodeCallee)) { 142 142 if (!thisObject->m_isStrictMode) { 143 slot.setValue(thisObject ->m_callee.get());143 slot.setValue(thisObject, thisObject->m_callee.get()); 144 144 return true; 145 145 }
Note:
See TracChangeset
for help on using the changeset viewer.