#ifndef V8_MAGLEV_MAGLEV_CODE_GEN_STATE_H_
#define V8_MAGLEV_MAGLEV_CODE_GEN_STATE_H_
#include "src/codegen/assembler.h"
#include "src/codegen/label.h"
#include "src/codegen/machine-type.h"
#include "src/codegen/maglev-safepoint-table.h"
#include "src/common/globals.h"
#include "src/compiler/backend/instruction.h"
#include "src/compiler/js-heap-broker.h"
#include "src/execution/frame-constants.h"
#include "src/maglev/maglev-compilation-info.h"
#include "src/maglev/maglev-ir.h"
namespace v8 {
namespace internal {
namespace maglev {
class InterpreterFrameState;
class MaglevAssembler;
class DeferredCodeInfo { … };
class MaglevCodeGenState { … };
inline int GetSafepointIndexForStackSlot(int i) { … }
inline Register ToRegister(const compiler::InstructionOperand& operand) { … }
inline DoubleRegister ToDoubleRegister(
const compiler::InstructionOperand& operand) { … }
template <typename RegisterT>
inline auto ToRegisterT(const compiler::InstructionOperand& operand) { … }
inline Register ToRegister(const ValueLocation& location) { … }
inline DoubleRegister ToDoubleRegister(const ValueLocation& location) { … }
}
}
}
#endif