1 // Copyright 2017 the V8 project authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef V8_INTERPRETER_INTERPRETER_GENERATOR_H_ 6 #define V8_INTERPRETER_INTERPRETER_GENERATOR_H_ 7 8 #include "src/interpreter/bytecode-operands.h" 9 #include "src/interpreter/bytecodes.h" 10 11 namespace v8 { 12 namespace internal { 13 namespace interpreter { 14 15 extern Handle<Code> GenerateBytecodeHandler(Isolate* isolate, Bytecode bytecode, 16 OperandScale operand_scale, 17 int builtin_index); 18 19 extern Handle<Code> GenerateDeserializeLazyHandler(Isolate* isolate, 20 OperandScale operand_scale); 21 22 } // namespace interpreter 23 } // namespace internal 24 } // namespace v8 25 26 #endif // V8_INTERPRETER_INTERPRETER_GENERATOR_H_ 27