| Index: src/interpreter/interpreter.h
|
| diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h
|
| index 155b2b5abee577c3517f97031259907aec21cd15..64cdbf305ca1e896e5cc28210dbf2d9a37cf8155 100644
|
| --- a/src/interpreter/interpreter.h
|
| +++ b/src/interpreter/interpreter.h
|
| @@ -21,6 +21,10 @@ class Isolate;
|
| class Callable;
|
| class CompilationInfo;
|
|
|
| +namespace compiler {
|
| +class Node;
|
| +} // namespace compiler
|
| +
|
| namespace interpreter {
|
|
|
| class InterpreterAssembler;
|
| @@ -73,6 +77,12 @@ class Interpreter {
|
| void DoBinaryOp(Runtime::FunctionId function_id,
|
| InterpreterAssembler* assembler);
|
|
|
| + // Generates code to perform the binary operations via |generator|.
|
| + void DoBinaryOp(compiler::Node* (*generator)(CodeStubAssembler*,
|
| + compiler::Node*, compiler::Node*,
|
| + compiler::Node*),
|
| + InterpreterAssembler* assembler);
|
| +
|
| // Generates code to perform the count operations via |function_id|.
|
| void DoCountOp(Runtime::FunctionId function_id,
|
| InterpreterAssembler* assembler);
|
|
|