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 14 struct AssemblerOptions; 15 enum class Builtin; 16 17 namespace interpreter { 18 19 extern Handle<Code> GenerateBytecodeHandler(Isolate* isolate, 20 const char* debug_name, 21 Bytecode bytecode, 22 OperandScale operand_scale, 23 Builtin builtin, 24 const AssemblerOptions& options); 25 26 } // namespace interpreter 27 } // namespace internal 28 } // namespace v8 29 30 #endif // V8_INTERPRETER_INTERPRETER_GENERATOR_H_ 31