Reviewers: Weiliang, Benedikt Meurer,

Message:
WL.
PTAL.
thanks

Description:
X87:  [turbofan] Add AllocateHeapNumberStub to avoid runtime call.

port ee95552f291d3c1fff78bc4f8d8621e84976e5c9 (r25107)

original commit message:
  [turbofan] Add AllocateHeapNumberStub to avoid runtime call.

BUG=

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

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

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


Index: src/x87/interface-descriptors-x87.cc
diff --git a/src/x87/interface-descriptors-x87.cc b/src/x87/interface-descriptors-x87.cc index 764034391bcdd8bbb3aaef2593b7d57db6bf5c6a..26ce4dcb857f0fe2cbacf4eb0e9ae0722e6b0052 100644
--- a/src/x87/interface-descriptors-x87.cc
+++ b/src/x87/interface-descriptors-x87.cc
@@ -155,6 +155,15 @@ void TransitionElementsKindDescriptor::Initialize(
 }


+void AllocateHeapNumberDescriptor::Initialize(
+    CallInterfaceDescriptorData* data) {
+  // register state
+  // esi -- context
+  Register registers[] = {esi};
+  data->Initialize(arraysize(registers), registers, nullptr);
+}
+
+
 void ArrayConstructorConstantArgCountDescriptor::Initialize(
     CallInterfaceDescriptorData* data) {
   // register state


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