Index: src/arm/interface-descriptors-arm.cc |
diff --git a/src/arm/interface-descriptors-arm.cc b/src/arm/interface-descriptors-arm.cc |
index 0d0aa893af43b12b43b5dc2261a5d2f5411a403c..d5687b8afc60e230e30c5285482c8d7347b9d57e 100644 |
--- a/src/arm/interface-descriptors-arm.cc |
+++ b/src/arm/interface-descriptors-arm.cc |
@@ -13,6 +13,14 @@ namespace internal { |
const Register CallInterfaceDescriptor::ContextRegister() { return cp; } |
+void CallInterfaceDescriptor::DefaultInitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data, int register_parameter_count) { |
+ const Register default_stub_registers[] = {r0, r1, r2, r3, r4}; |
+ 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 r1; } |
const Register LoadDescriptor::NameRegister() { return r2; } |
@@ -65,8 +73,6 @@ const Register MathPowIntegerDescriptor::exponent() { |
const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; } |
const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; } |
-const Register HasPropertyDescriptor::ObjectRegister() { return r0; } |
-const Register HasPropertyDescriptor::KeyRegister() { return r3; } |
void FastNewClosureDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |