summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/code-generator-impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/code-generator-impl.h')
-rw-r--r--deps/v8/src/compiler/code-generator-impl.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/deps/v8/src/compiler/code-generator-impl.h b/deps/v8/src/compiler/code-generator-impl.h
index 7f09b8524e..c6d3174d8c 100644
--- a/deps/v8/src/compiler/code-generator-impl.h
+++ b/deps/v8/src/compiler/code-generator-impl.h
@@ -87,8 +87,8 @@ class InstructionOperandConverter {
return ToExternalReference(instr_->InputAt(index));
}
- Handle<HeapObject> InputHeapObject(size_t index) {
- return ToHeapObject(instr_->InputAt(index));
+ Handle<Code> InputCode(size_t index) {
+ return ToCode(instr_->InputAt(index));
}
Label* InputLabel(size_t index) { return ToLabel(instr_->InputAt(index)); }
@@ -151,7 +151,9 @@ class InstructionOperandConverter {
ConstantOperand::cast(op)->virtual_register());
}
- double ToDouble(InstructionOperand* op) { return ToConstant(op).ToFloat64(); }
+ double ToDouble(InstructionOperand* op) {
+ return ToConstant(op).ToFloat64().value();
+ }
float ToFloat32(InstructionOperand* op) { return ToConstant(op).ToFloat32(); }
@@ -159,8 +161,8 @@ class InstructionOperandConverter {
return ToConstant(op).ToExternalReference();
}
- Handle<HeapObject> ToHeapObject(InstructionOperand* op) {
- return ToConstant(op).ToHeapObject();
+ Handle<Code> ToCode(InstructionOperand* op) {
+ return ToConstant(op).ToCode();
}
const Frame* frame() const { return gen_->frame(); }
@@ -202,15 +204,14 @@ class OutOfLineCode : public ZoneObject {
Label* entry() { return &entry_; }
Label* exit() { return &exit_; }
const Frame* frame() const { return frame_; }
- Isolate* isolate() const { return masm()->isolate(); }
- MacroAssembler* masm() const { return masm_; }
+ TurboAssembler* tasm() { return tasm_; }
OutOfLineCode* next() const { return next_; }
private:
Label entry_;
Label exit_;
const Frame* const frame_;
- MacroAssembler* const masm_;
+ TurboAssembler* const tasm_;
OutOfLineCode* const next_;
};