Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 521b10f9f94a6b34b0384f0840d53195c6700097..4ec3b2e72351488240b09b8a0c7bf0b3dd042683 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -502,7 +502,6 @@ void MacroAssembler::Abort(BailoutReason reason) { |
} |
#endif |
- Push(rax); |
Move(kScratchRegister, Smi::FromInt(static_cast<int>(reason)), |
Assembler::RelocInfoNone()); |
Push(kScratchRegister); |
@@ -3442,39 +3441,6 @@ void MacroAssembler::TaggedToI(Register result_reg, |
} |
-void MacroAssembler::Throw(BailoutReason reason) { |
-#ifdef DEBUG |
- const char* msg = GetBailoutReason(reason); |
- if (msg != NULL) { |
- RecordComment("Throw message: "); |
- RecordComment(msg); |
- } |
-#endif |
- |
- Push(rax); |
- Push(Smi::FromInt(reason)); |
- if (!has_frame_) { |
- // We don't actually want to generate a pile of code for this, so just |
- // claim there is a stack frame, without generating one. |
- FrameScope scope(this, StackFrame::NONE); |
- CallRuntime(Runtime::kHiddenThrowMessage, 1); |
- } else { |
- CallRuntime(Runtime::kHiddenThrowMessage, 1); |
- } |
- // Control will not return here. |
- int3(); |
-} |
- |
- |
-void MacroAssembler::ThrowIf(Condition cc, BailoutReason reason) { |
- Label L; |
- j(NegateCondition(cc), &L); |
- Throw(reason); |
- // will not return here |
- bind(&L); |
-} |
- |
- |
void MacroAssembler::LoadInstanceDescriptors(Register map, |
Register descriptors) { |
movp(descriptors, FieldOperand(map, Map::kDescriptorsOffset)); |