Index: src/arm64/interface-descriptors-arm64.cc |
diff --git a/src/arm64/interface-descriptors-arm64.cc b/src/arm64/interface-descriptors-arm64.cc |
index 2504f291ac0fa2156c3d2c7ed8c87bbfc415a807..2f3d4dbe8117c418ed265eabd950148b1709d45c 100644 |
--- a/src/arm64/interface-descriptors-arm64.cc |
+++ b/src/arm64/interface-descriptors-arm64.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[] = {x0, x1, x2, x3, x4}; |
+ 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 x1; } |
const Register LoadDescriptor::NameRegister() { return x2; } |
@@ -63,8 +71,6 @@ const Register MathPowIntegerDescriptor::exponent() { return x12; } |
const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } |
const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } |
-const Register HasPropertyDescriptor::ObjectRegister() { return x0; } |
-const Register HasPropertyDescriptor::KeyRegister() { return x3; } |
void FastNewClosureDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |