| Index: src/arm/macro-assembler-arm.cc
|
| diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc
|
| index 5b649e3fb423459a19add214af9444b7e50734f8..281861f968e1d046f31f07582a92a793ca4485bb 100644
|
| --- a/src/arm/macro-assembler-arm.cc
|
| +++ b/src/arm/macro-assembler-arm.cc
|
| @@ -3775,52 +3775,6 @@ void MacroAssembler::ClampDoubleToUint8(Register result_reg,
|
| }
|
|
|
|
|
| -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
|
| -
|
| - mov(r0, Operand(Smi::FromInt(reason)));
|
| - push(r0);
|
| - // 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_const_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.
|
| - static const int kExpectedThrowMessageInstructions = 10;
|
| - int throw_instructions = InstructionsGeneratedSince(&throw_start);
|
| - ASSERT(throw_instructions <= kExpectedThrowMessageInstructions);
|
| - while (throw_instructions++ < kExpectedThrowMessageInstructions) {
|
| - nop();
|
| - }
|
| - }
|
| -}
|
| -
|
| -
|
| -void MacroAssembler::ThrowIf(Condition cc, BailoutReason reason) {
|
| - Label L;
|
| - b(NegateCondition(cc), &L);
|
| - Throw(reason);
|
| - // will not return here
|
| - bind(&L);
|
| -}
|
| -
|
| -
|
| void MacroAssembler::LoadInstanceDescriptors(Register map,
|
| Register descriptors) {
|
| ldr(descriptors, FieldMemOperand(map, Map::kDescriptorsOffset));
|
|
|