Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index e2ceb1cf11aa38b085f835d55f19b421f16f716c..669da793235cf250feab970fd17d82e830a5e90d 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -590,6 +590,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); |