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}
}
+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);