| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index 8ff3c159dfeb79b604823d43ccb7d0206509b9ed..30555197fc2dcef9d3eab697a501b7050abcf7c1 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
|
|
|