Chromium Code Reviews| Index: src/interpreter/interpreter.cc |
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
| index 1d12bfbc17c838bf50af90056852489f2aa7e3e0..1da8bc0380b080a0b1fe884dfd7f199bcd361a45 100644 |
| --- a/src/interpreter/interpreter.cc |
| +++ b/src/interpreter/interpreter.cc |
| @@ -370,9 +370,7 @@ void Interpreter::DoLdar(InterpreterAssembler* assembler) { |
| // |
| // Store accumulator to register <dst>. |
| void Interpreter::DoStar(InterpreterAssembler* assembler) { |
| - Node* reg_index = __ BytecodeOperandReg(0); |
| - Node* accumulator = __ GetAccumulator(); |
| - __ StoreRegister(accumulator, reg_index); |
| + __ StoreAccumulatorToRegister(); |
|
rmcilroy
2016/07/18 11:07:52
Not so keen on inlining this into the interpreter-
klaasb
2016/07/18 15:15:29
Done. Inlined.
|
| __ Dispatch(); |
| } |