Changeset 153532 in webkit for trunk/Source/JavaScriptCore/runtime/Arguments.cpp
- Timestamp:
- Jul 31, 2013, 12:03:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/Arguments.cpp
r153211 r153532 91 91 } 92 92 93 bool Arguments::getOwnPropertySlotByIndex(JS Cell* cell, ExecState* exec, unsigned i, PropertySlot& slot)94 { 95 Arguments* thisObject = jsCast<Arguments*>( cell);93 bool Arguments::getOwnPropertySlotByIndex(JSObject* object, ExecState* exec, unsigned i, PropertySlot& slot) 94 { 95 Arguments* thisObject = jsCast<Arguments*>(object); 96 96 if (JSValue value = thisObject->tryGetArgument(i)) { 97 97 slot.setValue(value); … … 124 124 } 125 125 126 bool Arguments::getOwnPropertySlot(JS Cell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)127 { 128 Arguments* thisObject = jsCast<Arguments*>( cell);126 bool Arguments::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot) 127 { 128 Arguments* thisObject = jsCast<Arguments*>(object); 129 129 unsigned i = propertyName.asIndex(); 130 130 if (JSValue value = thisObject->tryGetArgument(i)) {
Note:
See TracChangeset
for help on using the changeset viewer.