Revision: 18798
Author:   [email protected]
Date:     Thu Jan 23 19:33:42 2014 UTC
Log: MIPS: Remove ArrayPush from the custom call generators, and instead call directly to the handler in crankshaft.

Port r18790 (0d675eeb)

BUG=
[email protected]

Review URL: https://codereview.chromium.org/132773005
http://code.google.com/p/v8/source/detail?r=18798

Modified:
 /branches/bleeding_edge/src/mips/code-stubs-mips.cc

=======================================
--- /branches/bleeding_edge/src/mips/code-stubs-mips.cc Thu Jan 23 15:42:02 2014 UTC +++ /branches/bleeding_edge/src/mips/code-stubs-mips.cc Thu Jan 23 19:33:42 2014 UTC
@@ -419,6 +419,20 @@
     descriptor->register_params_ = registers;
     descriptor->param_representations_ = representations;
   }
+  {
+    CallInterfaceDescriptor* descriptor =
+        isolate->call_descriptor(Isolate::CallHandler);
+    static Register registers[] = { cp,  // context
+                                    a0,  // receiver
+    };
+    static Representation representations[] = {
+        Representation::Tagged(),  // context
+        Representation::Tagged(),  // receiver
+    };
+    descriptor->register_param_count_ = 2;
+    descriptor->register_params_ = registers;
+    descriptor->param_representations_ = representations;
+  }
 }


--
--
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/groups/opt_out.

Reply via email to