Reviewers: dstence, michael_dawson_us.ibm.com, mvstanton,

Description:
PPC: Use a stub in crankshaft for grow store arrays.

Port fb8e6136387339e8089bbf61d4ffee50e4cd957e

Original commit message:
We were deopting without learning anything.

This is a rebase/reland of https://codereview.chromium.org/368263003

BUG=
[email protected], [email protected], [email protected]

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

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

Affected files (+5, -0 lines):
  M src/ppc/interface-descriptors-ppc.cc


Index: src/ppc/interface-descriptors-ppc.cc
diff --git a/src/ppc/interface-descriptors-ppc.cc b/src/ppc/interface-descriptors-ppc.cc index 01d01503403b9ccc97fb5773db8609fca614546a..0fe70f27317afdcb1cac0774885088e04a0bdf83 100644
--- a/src/ppc/interface-descriptors-ppc.cc
+++ b/src/ppc/interface-descriptors-ppc.cc
@@ -54,6 +54,11 @@ const Register MathPowIntegerDescriptor::exponent() {
 }


+const Register GrowArrayElementsDescriptor::ObjectRegister() { return r3; }
+const Register GrowArrayElementsDescriptor::KeyRegister() { return r6; }
+const Register GrowArrayElementsDescriptor::CapacityRegister() { return r5; }
+
+
void FastNewClosureDescriptor::Initialize(CallInterfaceDescriptorData* data) {
   Register registers[] = {cp, r5};
   data->Initialize(arraysize(registers), registers, NULL);


--
--
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