interpreter-generator.h 1019 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef V8_INTERPRETER_INTERPRETER_GENERATOR_H_
#define V8_INTERPRETER_INTERPRETER_GENERATOR_H_

#include "src/interpreter/bytecode-operands.h"
#include "src/interpreter/bytecodes.h"

namespace v8 {
namespace internal {
13 14 15

struct AssemblerOptions;

16 17 18
namespace interpreter {

extern Handle<Code> GenerateBytecodeHandler(Isolate* isolate, Bytecode bytecode,
19
                                            OperandScale operand_scale,
20 21
                                            int builtin_index,
                                            const AssemblerOptions& options);
22

23 24 25
extern Handle<Code> GenerateDeserializeLazyHandler(
    Isolate* isolate, OperandScale operand_scale, int builtin_index,
    const AssemblerOptions& options);
26

27 28 29 30 31
}  // namespace interpreter
}  // namespace internal
}  // namespace v8

#endif  // V8_INTERPRETER_INTERPRETER_GENERATOR_H_