Index: src/interpreter/interpreter.h |
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h |
index 1e4ca5cdb80b1ef5e173dea1165d8a3c4741f8c3..c32b6831d0aa770ba6e86ee7b9332e2390b43160 100644 |
--- a/src/interpreter/interpreter.h |
+++ b/src/interpreter/interpreter.h |
@@ -12,6 +12,7 @@ |
#include "src/builtins.h" |
#include "src/interpreter/bytecodes.h" |
#include "src/runtime/runtime.h" |
+#include "src/token.h" |
namespace v8 { |
namespace internal { |
@@ -53,6 +54,11 @@ class Interpreter { |
void DoBinaryOp(Runtime::FunctionId function_id, |
compiler::InterpreterAssembler* assembler); |
+ // Generates code to perform the comparison operation associated with |
+ // |compare_op|. |
+ void DoCompareOp(Token::Value compare_op, |
+ compiler::InterpreterAssembler* assembler); |
+ |
// Generates code to perform a property load via |ic|. |
void DoPropertyLoadIC(Callable ic, compiler::InterpreterAssembler* assembler); |