Index: src/interpreter/interpreter.h |
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h |
index 1b55864d7cbd5c9d5c990dc035df52d871650126..04f7e85b39350d36431523eee791db47dd920ef1 100644 |
--- a/src/interpreter/interpreter.h |
+++ b/src/interpreter/interpreter.h |
@@ -76,6 +76,14 @@ class Interpreter { |
BYTECODE_LIST(DECLARE_BYTECODE_HANDLER_GENERATOR) |
#undef DECLARE_BYTECODE_HANDLER_GENERATOR |
+ typedef void (Interpreter::*BytecodeGeneratorFunc)(InterpreterAssembler*); |
+ |
+ // Generates handler for given |bytecode| and |operand_scale| using |
+ // |generator| and installs it into the dispatch table. |
+ void InstallBytecodeHandler(Zone* zone, Bytecode bytecode, |
+ OperandScale operand_scale, |
+ BytecodeGeneratorFunc generator); |
+ |
// Generates code to perform the binary operation via |Generator|. |
template <class Generator> |
void DoBinaryOpWithFeedback(InterpreterAssembler* assembler); |