Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index bca1afc3b6bcb320e9ba963a2cfb084c8889ef1c..541da45e3ee2ce53786ebcfa79ed205e2fd14f50 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -3463,69 +3463,6 @@ void FullCodeGenerator::PushFunctionArgumentForContextAllocation() { |
} |
-// ---------------------------------------------------------------------------- |
-// Non-local control flow support. |
- |
-void FullCodeGenerator::EnterFinallyBlock() { |
- DCHECK(!result_register().is(a1)); |
- // Store pending message while executing finally block. |
- ExternalReference pending_message_obj = |
- ExternalReference::address_of_pending_message_obj(isolate()); |
- __ li(at, Operand(pending_message_obj)); |
- __ ld(a1, MemOperand(at)); |
- PushOperand(a1); |
- |
- ClearPendingMessage(); |
-} |
- |
- |
-void FullCodeGenerator::ExitFinallyBlock() { |
- DCHECK(!result_register().is(a1)); |
- // Restore pending message from stack. |
- PopOperand(a1); |
- ExternalReference pending_message_obj = |
- ExternalReference::address_of_pending_message_obj(isolate()); |
- __ li(at, Operand(pending_message_obj)); |
- __ sd(a1, MemOperand(at)); |
-} |
- |
- |
-void FullCodeGenerator::ClearPendingMessage() { |
- DCHECK(!result_register().is(a1)); |
- ExternalReference pending_message_obj = |
- ExternalReference::address_of_pending_message_obj(isolate()); |
- __ LoadRoot(a1, Heap::kTheHoleValueRootIndex); |
- __ li(at, Operand(pending_message_obj)); |
- __ sd(a1, MemOperand(at)); |
-} |
- |
- |
-void FullCodeGenerator::DeferredCommands::EmitCommands() { |
- __ Pop(result_register()); // Restore the accumulator. |
- __ Pop(a1); // Get the token. |
- for (DeferredCommand cmd : commands_) { |
- Label skip; |
- __ li(at, Operand(Smi::FromInt(cmd.token))); |
- __ Branch(&skip, ne, a1, Operand(at)); |
- 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 __ |