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