Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index f60e0a7a08377e5222872fa3eb7cc0cd561d6bb8..0ac07de0ddfd93a262a6a6fc544c113de3962181 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -614,6 +614,36 @@ void KeyedLoadGenericElementStub::InitializeInterfaceDescriptor( |
} |
+void LoadFieldStub::InitializeInterfaceDescriptor( |
+ CodeStubInterfaceDescriptor* descriptor) { |
+ Register registers[] = { LoadIC::ReceiverRegister() }; |
+ descriptor->Initialize(ARRAY_SIZE(registers), registers); |
+} |
+ |
+ |
+void KeyedLoadFieldStub::InitializeInterfaceDescriptor( |
+ CodeStubInterfaceDescriptor* descriptor) { |
+ Register registers[] = { KeyedLoadIC::ReceiverRegister() }; |
+ descriptor->Initialize(ARRAY_SIZE(registers), registers); |
+} |
+ |
+ |
+void StringLengthStub::InitializeInterfaceDescriptor( |
+ CodeStubInterfaceDescriptor* descriptor) { |
+ Register registers[] = { LoadIC::ReceiverRegister(), |
+ LoadIC::NameRegister() }; |
+ descriptor->Initialize(ARRAY_SIZE(registers), registers); |
+} |
+ |
+ |
+void KeyedStringLengthStub::InitializeInterfaceDescriptor( |
+ CodeStubInterfaceDescriptor* descriptor) { |
+ Register registers[] = { KeyedLoadIC::ReceiverRegister(), |
+ KeyedLoadIC::NameRegister() }; |
+ descriptor->Initialize(ARRAY_SIZE(registers), registers); |
+} |
+ |
+ |
void KeyedLoadDictionaryElementPlatformStub::Generate( |
MacroAssembler* masm) { |
KeyedLoadStubCompiler::GenerateLoadDictionaryElement(masm); |