| Index: src/mips/macro-assembler-mips.cc
|
| diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc
|
| index d2b1462f108675b128c04c4539075bc9ec7a260b..22c04e636a0a35a50aa812486375ba83efb4927c 100644
|
| --- a/src/mips/macro-assembler-mips.cc
|
| +++ b/src/mips/macro-assembler-mips.cc
|
| @@ -5407,57 +5407,6 @@ void MacroAssembler::EnsureNotWhite(
|
| }
|
|
|
|
|
| -void MacroAssembler::Throw(BailoutReason reason) {
|
| - Label throw_start;
|
| - bind(&throw_start);
|
| -#ifdef DEBUG
|
| - const char* msg = GetBailoutReason(reason);
|
| - if (msg != NULL) {
|
| - RecordComment("Throw message: ");
|
| - RecordComment(msg);
|
| - }
|
| -#endif
|
| -
|
| - li(a0, Operand(Smi::FromInt(reason)));
|
| - push(a0);
|
| - // 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
|
| - if (is_trampoline_pool_blocked()) {
|
| - // If the calling code cares throw the exact number of
|
| - // instructions generated, we insert padding here to keep the size
|
| - // of the ThrowMessage macro constant.
|
| - // Currently in debug mode with debug_code enabled the number of
|
| - // generated instructions is 14, so we use this as a maximum value.
|
| - static const int kExpectedThrowMessageInstructions = 14;
|
| - int throw_instructions = InstructionsGeneratedSince(&throw_start);
|
| - ASSERT(throw_instructions <= kExpectedThrowMessageInstructions);
|
| - while (throw_instructions++ < kExpectedThrowMessageInstructions) {
|
| - nop();
|
| - }
|
| - }
|
| -}
|
| -
|
| -
|
| -void MacroAssembler::ThrowIf(Condition cc,
|
| - BailoutReason reason,
|
| - Register rs,
|
| - Operand rt) {
|
| - Label L;
|
| - Branch(&L, NegateCondition(cc), rs, rt);
|
| - Throw(reason);
|
| - // will not return here
|
| - bind(&L);
|
| -}
|
| -
|
| -
|
| void MacroAssembler::LoadInstanceDescriptors(Register map,
|
| Register descriptors) {
|
| lw(descriptors, FieldMemOperand(map, Map::kDescriptorsOffset));
|
|
|