Index: src/mips/interface-descriptors-mips.cc |
diff --git a/src/mips/interface-descriptors-mips.cc b/src/mips/interface-descriptors-mips.cc |
index 847532a521c03db8f33f33c1b2fd3dd7a7182514..01e872ce1949c440e47a4940aebcd2ce8555acc7 100644 |
--- a/src/mips/interface-descriptors-mips.cc |
+++ b/src/mips/interface-descriptors-mips.cc |
@@ -11,6 +11,14 @@ namespace internal { |
const Register CallInterfaceDescriptor::ContextRegister() { return cp; } |
+void CallInterfaceDescriptor::DefaultInitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data, int register_parameter_count) { |
+ const Register default_stub_registers[] = {a0, a1, a2, a3, t0}; |
+ 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 a1; } |
const Register LoadDescriptor::NameRegister() { return a2; } |
@@ -63,8 +71,6 @@ const Register MathPowIntegerDescriptor::exponent() { |
const Register GrowArrayElementsDescriptor::ObjectRegister() { return a0; } |
const Register GrowArrayElementsDescriptor::KeyRegister() { return a3; } |
-const Register HasPropertyDescriptor::ObjectRegister() { return a0; } |
-const Register HasPropertyDescriptor::KeyRegister() { return a3; } |
void FastNewClosureDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |