Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 407280ab27a654940c7a9c0a3eccb3fe7a1390f8..83a9799cd74609a3c60efc174206e1ff4d8b30d9 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -1653,7 +1653,7 @@ void Interpreter::DoCreateObjectLiteral(InterpreterAssembler* assembler) { |
Node* result = FastCloneShallowObjectStub::GenerateFastPath( |
assembler, &if_not_fast_clone, closure, literal_index, |
fast_clone_properties_count); |
- __ SetAccumulator(result); |
+ __ StoreRegister(result, __ BytecodeOperandReg(3)); |
__ Dispatch(); |
} |
@@ -1673,7 +1673,7 @@ void Interpreter::DoCreateObjectLiteral(InterpreterAssembler* assembler) { |
Node* result = |
__ CallRuntime(Runtime::kCreateObjectLiteral, context, closure, |
literal_index, constant_elements, flags); |
- __ SetAccumulator(result); |
+ __ StoreRegister(result, __ BytecodeOperandReg(3)); |
// TODO(klaasb) build a single dispatch once the call is inlined |
__ Dispatch(); |
} |