Changeset 173082 in webkit for trunk/Source/JavaScriptCore/jit/JITOperations.cpp
- Timestamp:
- Aug 28, 2014, 2:38:18 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITOperations.cpp
r173031 r173082 481 481 baseObject->putDirect(callFrame->vm(), jsCast<NameInstance*>(subscript.asCell())->privateName(), value, slot); 482 482 } else { 483 Identifier property (callFrame, subscript.toString(callFrame)->value(callFrame));483 Identifier property = subscript.toString(callFrame)->toIdentifier(callFrame); 484 484 if (!callFrame->vm().exception()) { // Don't put to an object if toString threw an exception. 485 485 PutPropertySlot slot(baseObject, callFrame->codeBlock()->isStrictMode()); … … 921 921 size_t JIT_OPERATION operationHasProperty(ExecState* exec, JSObject* base, JSString* property) 922 922 { 923 int result = base->hasProperty(exec, Identifier(exec, property->value(exec)));923 int result = base->hasProperty(exec, property->toIdentifier(exec)); 924 924 return result; 925 925 }
Note:
See TracChangeset
for help on using the changeset viewer.