Reviewers: Benedikt Meurer, danno, Sven Panne,

Message:
PPC Change to resolve latest breaking change in common files

Description:
PPC: Simplify pending message script handling.

Port f71e26268338d2840133264329bf35a63011bb5a

Original commit message:
This removes the separate tracking of the pending message script,
because that script is already stored in the message object and
duplicating it in the ThreadLocalTop makes it more brittle.

[email protected]

Review URL: https://codereview.chromium.org/995013005

Cr-Commit-Position: refs/heads/master@{#27127}

[email protected], [email protected]

BUG=

Please review this at https://codereview.chromium.org/999093002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+0, -12 lines):
  M src/ppc/full-codegen-ppc.cc


Index: src/ppc/full-codegen-ppc.cc
diff --git a/src/ppc/full-codegen-ppc.cc b/src/ppc/full-codegen-ppc.cc
index 5c4b18a335378688f52335ffe6ccd8ca58b664e2..5cb833a2d15defc3f50538a16fd6b0c94d11a849 100644
--- a/src/ppc/full-codegen-ppc.cc
+++ b/src/ppc/full-codegen-ppc.cc
@@ -5337,12 +5337,6 @@ void FullCodeGenerator::EnterFinallyBlock() {
   __ lbz(r4, MemOperand(ip));
   __ SmiTag(r4);
   __ push(r4);
-
-  ExternalReference pending_message_script =
-      ExternalReference::address_of_pending_message_script(isolate());
-  __ mov(ip, Operand(pending_message_script));
-  __ LoadP(r4, MemOperand(ip));
-  __ push(r4);
 }


@@ -5350,12 +5344,6 @@ void FullCodeGenerator::ExitFinallyBlock() {
   DCHECK(!result_register().is(r4));
   // Restore pending message from stack.
   __ pop(r4);
-  ExternalReference pending_message_script =
-      ExternalReference::address_of_pending_message_script(isolate());
-  __ mov(ip, Operand(pending_message_script));
-  __ StoreP(r4, MemOperand(ip));
-
-  __ pop(r4);
   __ SmiUntag(r4);
   ExternalReference has_pending_message =
       ExternalReference::address_of_has_pending_message(isolate());


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to