Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 68232df9d8e99683c067cf222978a0f330d6f04c..e0e0e37ccbd1c85cf58afc04f25c71612c979589 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -101,6 +101,16 @@ void CreateAllocationSiteStub::InitializeInterfaceDescriptor( |
} |
+void KeyedLoadGenericElementStub::InitializeInterfaceDescriptor( |
+ CodeStubInterfaceDescriptor* descriptor) { |
+ static Register registers[] = { x1, x0 }; |
+ descriptor->register_param_count_ = 2; |
+ descriptor->register_params_ = registers; |
+ descriptor->deoptimization_handler_ = |
+ Runtime::FunctionForId(Runtime::kKeyedGetProperty)->entry; |
+} |
+ |
+ |
void KeyedLoadFastElementStub::InitializeInterfaceDescriptor( |
CodeStubInterfaceDescriptor* descriptor) { |
// x1: receiver |