Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index decf0b03fb877ef596060a9b4f100c8fe3fe7c90..70ead443fd647ffb12c72933996a5857305dd01e 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -101,6 +101,40 @@ 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 |
+ // x0: key |
+ static Register registers[] = { x1, x0 }; |
+ descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]); |
+ descriptor->register_params_ = registers; |
+ descriptor->deoptimization_handler_ = |
+ FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); |
+} |
+ |
+ |
+void KeyedLoadDictionaryElementStub::InitializeInterfaceDescriptor( |
+ CodeStubInterfaceDescriptor* descriptor) { |
+ // x1: receiver |
+ // x0: key |
+ static Register registers[] = { x1, x0 }; |
+ descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]); |
+ descriptor->register_params_ = registers; |
+ descriptor->deoptimization_handler_ = |
+ FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); |
+} |
+ |
+ |
void RegExpConstructResultStub::InitializeInterfaceDescriptor( |
CodeStubInterfaceDescriptor* descriptor) { |
// x2: length |