Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 89977786227f0e27830191aac4036d37bb4bd3f7..34d0cb4e70e2e64a28cef25d7617887dac30bb95 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -3447,70 +3447,6 @@ void FullCodeGenerator::PushFunctionArgumentForContextAllocation() { |
} |
-// ---------------------------------------------------------------------------- |
-// Non-local control flow support. |
- |
-void FullCodeGenerator::EnterFinallyBlock() { |
- DCHECK(!result_register().is(r4)); |
- // Store pending message while executing finally block. |
- ExternalReference pending_message_obj = |
- ExternalReference::address_of_pending_message_obj(isolate()); |
- __ mov(ip, Operand(pending_message_obj)); |
- __ LoadP(r4, MemOperand(ip)); |
- PushOperand(r4); |
- |
- ClearPendingMessage(); |
-} |
- |
- |
-void FullCodeGenerator::ExitFinallyBlock() { |
- DCHECK(!result_register().is(r4)); |
- // Restore pending message from stack. |
- PopOperand(r4); |
- ExternalReference pending_message_obj = |
- ExternalReference::address_of_pending_message_obj(isolate()); |
- __ mov(ip, Operand(pending_message_obj)); |
- __ StoreP(r4, MemOperand(ip)); |
-} |
- |
- |
-void FullCodeGenerator::ClearPendingMessage() { |
- DCHECK(!result_register().is(r4)); |
- ExternalReference pending_message_obj = |
- ExternalReference::address_of_pending_message_obj(isolate()); |
- __ LoadRoot(r4, Heap::kTheHoleValueRootIndex); |
- __ mov(ip, Operand(pending_message_obj)); |
- __ StoreP(r4, MemOperand(ip)); |
-} |
- |
- |
-void FullCodeGenerator::DeferredCommands::EmitCommands() { |
- DCHECK(!result_register().is(r4)); |
- // Restore the accumulator (r3) and token (r4). |
- __ Pop(r4, result_register()); |
- for (DeferredCommand cmd : commands_) { |
- Label skip; |
- __ CmpSmiLiteral(r4, Smi::FromInt(cmd.token), r0); |
- __ bne(&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 __ |