Index: src/interpreter/interpreter.h |
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h |
index 155b2b5abee577c3517f97031259907aec21cd15..56c3b08cdda21b5c74364e3483d0922ec2bc38e8 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,10 @@ class Interpreter { |
void DoBinaryOp(Runtime::FunctionId function_id, |
InterpreterAssembler* assembler); |
+ // Generates code to perform the binary operations via |Generator|. |
+ template <class Generator> |
+ void DoBinaryOp(InterpreterAssembler* assembler); |
+ |
// Generates code to perform the count operations via |function_id|. |
void DoCountOp(Runtime::FunctionId function_id, |
InterpreterAssembler* assembler); |