Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 34c26845716802475952d6ba8eb82993ba423f7d..4f935c3bb255304aa4297ae25632eae19f0b39db 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -3445,70 +3445,6 @@ void FullCodeGenerator::PushFunctionArgumentForContextAllocation() { |
} |
-// ---------------------------------------------------------------------------- |
-// Non-local control flow support. |
- |
-void FullCodeGenerator::EnterFinallyBlock() { |
- DCHECK(!result_register().is(r1)); |
- // Store pending message while executing finally block. |
- ExternalReference pending_message_obj = |
- ExternalReference::address_of_pending_message_obj(isolate()); |
- __ mov(ip, Operand(pending_message_obj)); |
- __ ldr(r1, MemOperand(ip)); |
- PushOperand(r1); |
- |
- ClearPendingMessage(); |
-} |
- |
- |
-void FullCodeGenerator::ExitFinallyBlock() { |
- DCHECK(!result_register().is(r1)); |
- // Restore pending message from stack. |
- PopOperand(r1); |
- ExternalReference pending_message_obj = |
- ExternalReference::address_of_pending_message_obj(isolate()); |
- __ mov(ip, Operand(pending_message_obj)); |
- __ str(r1, MemOperand(ip)); |
-} |
- |
- |
-void FullCodeGenerator::ClearPendingMessage() { |
- DCHECK(!result_register().is(r1)); |
- ExternalReference pending_message_obj = |
- ExternalReference::address_of_pending_message_obj(isolate()); |
- __ LoadRoot(r1, Heap::kTheHoleValueRootIndex); |
- __ mov(ip, Operand(pending_message_obj)); |
- __ str(r1, MemOperand(ip)); |
-} |
- |
- |
-void FullCodeGenerator::DeferredCommands::EmitCommands() { |
- DCHECK(!result_register().is(r1)); |
- __ Pop(result_register()); // Restore the accumulator. |
- __ Pop(r1); // Get the token. |
- for (DeferredCommand cmd : commands_) { |
- Label skip; |
- __ cmp(r1, Operand(Smi::FromInt(cmd.token))); |
- __ b(ne, &skip); |
- switch (cmd.command) { |
- case kReturn: |
- codegen_->EmitUnwindAndReturn(); |
- break; |
- case kThrow: |
- __ Push(result_register()); |
- __ CallRuntime(Runtime::kReThrow); |
- break; |
- case kContinue: |
- codegen_->EmitContinue(cmd.target); |
- break; |
- case kBreak: |
- codegen_->EmitBreak(cmd.target); |
- break; |
- } |
- __ bind(&skip); |
- } |
-} |
- |
#undef __ |