Reviewers: dstence, michael_dawson,
Description:
PPC: Fix "Unify the stack layout for construct frames"
R=dste...@us.ibm.com, michael_daw...@ca.ibm.com
BUG=
Please review this at https://codereview.chromium.org/1210083002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+2, -2 lines):
M src/ppc/builtins-ppc.cc
Index: src/ppc/builtins-ppc.cc
diff --git a/src/ppc/builtins-ppc.cc b/src/ppc/builtins-ppc.cc
index
b9c25433731ac74d29a3ef681d066db954b6c5a5..077d8dc6faf051f2d24b8ee7165cdd66cc4bea1c
100644
--- a/src/ppc/builtins-ppc.cc
+++ b/src/ppc/builtins-ppc.cc
@@ -626,11 +626,11 @@ static void
Generate_JSConstructStubHelper(MacroAssembler* masm,
__ bind(&count_incremented);
}
- __ Pop(r4);
+ __ pop(r4); // Constructor function.
__ Push(r7, r7);
- // Reload the number of arguments and the constructor from the stack.
+ // Reload the number of arguments from the stack.
// sp[0]: receiver
// sp[1]: receiver
// sp[2]: number of arguments (smi-tagged)
--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.