V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
interpreter-generator.h
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_
Definition: libplatform.h:13