Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 507d6f5838bc2af447ececbdc278b6dfeca91f08..79eccefab8b62f1cbfe4275f560713a95988f686 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -634,6 +634,27 @@ void KeyedStringLengthStub::InitializeInterfaceDescriptor( |
} |
+void KeyedStoreFastElementStub::InitializeInterfaceDescriptor( |
+ CodeStubInterfaceDescriptor* descriptor) { |
+ Register registers[] = { KeyedStoreIC::ReceiverRegister(), |
+ KeyedStoreIC::NameRegister(), |
+ KeyedStoreIC::ValueRegister() }; |
+ descriptor->Initialize( |
+ ARRAY_SIZE(registers), registers, |
+ FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure)); |
+} |
+ |
+ |
+void StoreGlobalStub::InitializeInterfaceDescriptor( |
+ CodeStubInterfaceDescriptor* descriptor) { |
+ Register registers[] = { StoreIC::ReceiverRegister(), |
+ StoreIC::NameRegister(), |
+ StoreIC::ValueRegister() }; |
+ descriptor->Initialize(ARRAY_SIZE(registers), registers, |
+ FUNCTION_ADDR(StoreIC_MissFromStubFailure)); |
+} |
+ |
+ |
void KeyedLoadDictionaryElementPlatformStub::Generate( |
MacroAssembler* masm) { |
KeyedLoadStubCompiler::GenerateLoadDictionaryElement(masm); |