| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index a6c89851b3a290ac2eec307eca60413bfc5bf67b..234292702d15539e591e1c4f48ed11b42e58d919 100644
|
| --- a/src/interpreter/interpreter.cc
|
| +++ b/src/interpreter/interpreter.cc
|
| @@ -1025,7 +1025,9 @@ void Interpreter::DoUnaryOp(InterpreterAssembler* assembler) {
|
| //
|
| // Cast the object referenced by the accumulator to a name.
|
| void Interpreter::DoToName(InterpreterAssembler* assembler) {
|
| - DoUnaryOp(CodeFactory::ToName(isolate_), assembler);
|
| + Node* result = BuildUnaryOp(CodeFactory::ToName(isolate_), assembler);
|
| + __ StoreRegister(result, __ BytecodeOperandReg(0));
|
| + __ Dispatch();
|
| }
|
|
|
| // ToNumber
|
|
|