X87: Use a stub in crankshaft for grow store arrays.
authorchunyang.dai <chunyang.dai@intel.com>
Mon, 4 May 2015 03:39:14 +0000 (20:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 4 May 2015 03:39:19 +0000 (03:39 +0000)
port fb8e6136387339e8089bbf61d4ffee50e4cd957e (r28163).

original commit message:

 We were deopting without learning anything.

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

BUG=

Review URL: https://codereview.chromium.org/1125623002

Cr-Commit-Position: refs/heads/master@{#28188}

src/x87/interface-descriptors-x87.cc

index 506ed47fac38980405d6a7c0dbc3bf1c76172640..8a6b55e2d36abe6e8aed0e267c919ad3c6345265 100644 (file)
@@ -56,6 +56,11 @@ const Register MathPowIntegerDescriptor::exponent() {
 }
 
 
+const Register GrowArrayElementsDescriptor::ObjectRegister() { return eax; }
+const Register GrowArrayElementsDescriptor::KeyRegister() { return ebx; }
+const Register GrowArrayElementsDescriptor::CapacityRegister() { return ecx; }
+
+
 void FastNewClosureDescriptor::Initialize(CallInterfaceDescriptorData* data) {
   Register registers[] = {esi, ebx};
   data->Initialize(arraysize(registers), registers, NULL);