Changeset 161033 in webkit for trunk/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp
- Timestamp:
- Dec 23, 2013, 4:11:25 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp
r160244 r161033 579 579 580 580 JSValue baseValue = LLINT_OP_C(1).jsValue(); 581 PutPropertySlot slot( codeBlock->isStrictMode(), codeBlock->putByIdContext());581 PutPropertySlot slot(baseValue, codeBlock->isStrictMode(), codeBlock->putByIdContext()); 582 582 if (pc[8].u.operand) 583 583 asObject(baseValue)->putDirect(vm, ident, LLINT_OP_C(3).jsValue(), slot); … … 735 735 736 736 if (isName(subscript)) { 737 PutPropertySlot slot( exec->codeBlock()->isStrictMode());737 PutPropertySlot slot(baseValue, exec->codeBlock()->isStrictMode()); 738 738 baseValue.put(exec, jsCast<NameInstance*>(subscript.asCell())->privateName(), value, slot); 739 739 LLINT_END(); … … 742 742 Identifier property(exec, subscript.toString(exec)->value(exec)); 743 743 LLINT_CHECK_EXCEPTION(); 744 PutPropertySlot slot( exec->codeBlock()->isStrictMode());744 PutPropertySlot slot(baseValue, exec->codeBlock()->isStrictMode()); 745 745 baseValue.put(exec, property, value, slot); 746 746 LLINT_END(); … … 760 760 baseObject->putDirectIndex(exec, i, value); 761 761 } else if (isName(subscript)) { 762 PutPropertySlot slot( exec->codeBlock()->isStrictMode());762 PutPropertySlot slot(baseObject, exec->codeBlock()->isStrictMode()); 763 763 baseObject->putDirect(exec->vm(), jsCast<NameInstance*>(subscript.asCell())->privateName(), value, slot); 764 764 } else { 765 765 Identifier property(exec, subscript.toString(exec)->value(exec)); 766 766 if (!exec->vm().exception()) { // Don't put to an object if toString threw an exception. 767 PutPropertySlot slot( exec->codeBlock()->isStrictMode());767 PutPropertySlot slot(baseObject, exec->codeBlock()->isStrictMode()); 768 768 baseObject->putDirect(exec->vm(), property, value, slot); 769 769 } … … 1369 1369 LLINT_THROW(createUndefinedVariableError(exec, ident)); 1370 1370 1371 PutPropertySlot slot( codeBlock->isStrictMode());1371 PutPropertySlot slot(scope, codeBlock->isStrictMode()); 1372 1372 scope->methodTable()->put(scope, exec, ident, value, slot); 1373 1373
Note:
See TracChangeset
for help on using the changeset viewer.