• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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,
19                                             const char* debug_name,
20                                             Bytecode bytecode,
21                                             OperandScale operand_scale,
22                                             int builtin_index,
23                                             const AssemblerOptions& options);
24 
25 extern Handle<Code> GenerateDeserializeLazyHandler(
26     Isolate* isolate, OperandScale operand_scale, int builtin_index,
27     const AssemblerOptions& options);
28 
29 }  // namespace interpreter
30 }  // namespace internal
31 }  // namespace v8
32 
33 #endif  // V8_INTERPRETER_INTERPRETER_GENERATOR_H_
34