Revision: 25118
Author:   [email protected]
Date:     Tue Nov  4 17:19:52 2014 UTC
Log:      MIPS: [turbofan] Add AllocateHeapNumberStub to avoid runtime call.

Port 983ca3f1e7bd8cbba45684d5c1642cd495ca9bc1
Port r25107

TEST=unittests
BUG=
[email protected]

Review URL: https://codereview.chromium.org/699903002
https://code.google.com/p/v8/source/detail?r=25118

Modified:
 /branches/bleeding_edge/src/mips/interface-descriptors-mips.cc
 /branches/bleeding_edge/src/mips64/interface-descriptors-mips64.cc

=======================================
--- /branches/bleeding_edge/src/mips/interface-descriptors-mips.cc Tue Sep 30 14:54:14 2014 UTC +++ /branches/bleeding_edge/src/mips/interface-descriptors-mips.cc Tue Nov 4 17:19:52 2014 UTC
@@ -150,6 +150,15 @@
   Register registers[] = {cp, a0, a1};
   data->Initialize(arraysize(registers), registers, NULL);
 }
+
+
+void AllocateHeapNumberDescriptor::Initialize(
+    CallInterfaceDescriptorData* data) {
+  // register state
+  // cp -- context
+  Register registers[] = {cp};
+  data->Initialize(arraysize(registers), registers, nullptr);
+}


 void ArrayConstructorConstantArgCountDescriptor::Initialize(
=======================================
--- /branches/bleeding_edge/src/mips64/interface-descriptors-mips64.cc Tue Sep 30 14:54:14 2014 UTC +++ /branches/bleeding_edge/src/mips64/interface-descriptors-mips64.cc Tue Nov 4 17:19:52 2014 UTC
@@ -150,6 +150,15 @@
   Register registers[] = {cp, a0, a1};
   data->Initialize(arraysize(registers), registers, NULL);
 }
+
+
+void AllocateHeapNumberDescriptor::Initialize(
+    CallInterfaceDescriptorData* data) {
+  // register state
+  // cp -- context
+  Register registers[] = {cp};
+  data->Initialize(arraysize(registers), registers, nullptr);
+}


 void ArrayConstructorConstantArgCountDescriptor::Initialize(

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