| Index: src/interpreter/interpreter.h
|
| diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h
|
| index 92e17e06bc6a33722009ab8a4e33ca59400a1565..f9a6fa52b0405f05149af44a1924ff2c093189ae 100644
|
| --- a/src/interpreter/interpreter.h
|
| +++ b/src/interpreter/interpreter.h
|
| @@ -79,7 +79,8 @@ class Interpreter {
|
| template <class Generator>
|
| void DoBinaryOpWithImmediate(InterpreterAssembler* assembler);
|
|
|
| - // Generates code to perform the unary operation via |callable|.
|
| + // Generates code to perform the unary operation via |callable| and stores
|
| + // the result to the accumulator.
|
| void DoUnaryOp(Callable callable, InterpreterAssembler* assembler);
|
|
|
| // Generates code to perform the unary operation via |Generator|.
|
| @@ -152,6 +153,10 @@ class Interpreter {
|
| compiler::Node* cache_length,
|
| InterpreterAssembler* assembler);
|
|
|
| + // Generates code to perform the unary operation via |callable|.
|
| + compiler::Node* BuildUnaryOp(Callable callable,
|
| + InterpreterAssembler* assembler);
|
| +
|
| uintptr_t GetDispatchCounter(Bytecode from, Bytecode to) const;
|
|
|
| // Get dispatch table index of bytecode.
|
|
|