| Index: src/x87/macro-assembler-x87.cc
|
| diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc
|
| index bd5c623c3c83ebc20fe86aaef393984b04d04f7a..c1c8afff789d7eb799758868dced0e7717212d44 100644
|
| --- a/src/x87/macro-assembler-x87.cc
|
| +++ b/src/x87/macro-assembler-x87.cc
|
| @@ -2683,7 +2683,6 @@ void MacroAssembler::Abort(BailoutReason reason) {
|
| }
|
| #endif
|
|
|
| - push(eax);
|
| push(Immediate(reinterpret_cast<intptr_t>(Smi::FromInt(reason))));
|
| // Disable stub call restrictions to always allow calls to abort.
|
| if (!has_frame_) {
|
| @@ -2699,40 +2698,6 @@ void MacroAssembler::Abort(BailoutReason reason) {
|
| }
|
|
|
|
|
| -void MacroAssembler::Throw(BailoutReason reason) {
|
| -#ifdef DEBUG
|
| - const char* msg = GetBailoutReason(reason);
|
| - if (msg != NULL) {
|
| - RecordComment("Throw message: ");
|
| - RecordComment(msg);
|
| - }
|
| -#endif
|
| -
|
| - push(eax);
|
| - push(Immediate(Smi::FromInt(reason)));
|
| - // Disable stub call restrictions to always allow calls to throw.
|
| - 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);
|
| - }
|
| - // 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) {
|
| mov(descriptors, FieldOperand(map, Map::kDescriptorsOffset));
|
|
|