Index: src/x87/interface-descriptors-x87.cc |
diff --git a/src/x87/interface-descriptors-x87.cc b/src/x87/interface-descriptors-x87.cc |
index f735f375d1856859480a70da80dfedea9a582588..e47a3037201539bd8ddfda5a51bb3b57c6ad3e9a 100644 |
--- a/src/x87/interface-descriptors-x87.cc |
+++ b/src/x87/interface-descriptors-x87.cc |
@@ -11,6 +11,14 @@ namespace internal { |
const Register CallInterfaceDescriptor::ContextRegister() { return esi; } |
+void CallInterfaceDescriptor::DefaultInitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data, int register_parameter_count) { |
+ const Register default_stub_registers[] = {eax, ebx, ecx, edx, edi}; |
+ CHECK_LE(static_cast<size_t>(register_parameter_count), |
+ arraysize(default_stub_registers)); |
+ data->InitializePlatformSpecific(register_parameter_count, |
+ default_stub_registers); |
+} |
const Register LoadDescriptor::ReceiverRegister() { return edx; } |
const Register LoadDescriptor::NameRegister() { return ecx; } |
@@ -68,8 +76,6 @@ const Register MathPowIntegerDescriptor::exponent() { |
const Register GrowArrayElementsDescriptor::ObjectRegister() { return eax; } |
const Register GrowArrayElementsDescriptor::KeyRegister() { return ebx; } |
-const Register HasPropertyDescriptor::ObjectRegister() { return eax; } |
-const Register HasPropertyDescriptor::KeyRegister() { return ebx; } |
void FastNewClosureDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |