Changeset 104886 in webkit for trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Jan 12, 2012, 5:40:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r104630 r104886 3309 3309 3310 3310 JSValue baseValue = callFrame->r(base).jsValue(); 3311 ASSERT(baseValue.isObject()); 3312 JSObject* baseObject = asObject(baseValue); 3311 3313 Identifier& ident = codeBlock->identifier(property); 3312 3314 PutPropertySlot slot(codeBlock->isStrictMode()); 3313 3315 if (direct) 3314 base Value.putDirect(callFrame, ident, callFrame->r(value).jsValue(), slot);3316 baseObject->putDirect(*globalData, ident, callFrame->r(value).jsValue(), slot); 3315 3317 else 3316 3318 baseValue.put(callFrame, ident, callFrame->r(value).jsValue(), slot); … … 3427 3429 3428 3430 JSValue baseValue = callFrame->r(base).jsValue(); 3431 ASSERT(baseValue.isObject()); 3432 JSObject* baseObject = asObject(baseValue); 3429 3433 Identifier& ident = codeBlock->identifier(property); 3430 3434 PutPropertySlot slot(codeBlock->isStrictMode()); 3431 3435 if (direct) 3432 base Value.putDirect(callFrame, ident, callFrame->r(value).jsValue(), slot);3436 baseObject->putDirect(*globalData, ident, callFrame->r(value).jsValue(), slot); 3433 3437 else 3434 3438 baseValue.put(callFrame, ident, callFrame->r(value).jsValue(), slot);
Note:
See TracChangeset
for help on using the changeset viewer.