Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 96460c56f5fa949ae60f1cf5583df52828130d4e..5c9e1a2b8657cce26c13a4362ec04d1f4523da3c 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -586,12 +586,14 @@ void KeyedLoadGenericStub::InitializeDescriptor( |
void HandlerStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
if (kind() == Code::STORE_IC) { |
descriptor->Initialize(FUNCTION_ADDR(StoreIC_MissFromStubFailure)); |
+ } else if (kind() == Code::KEYED_LOAD_IC) { |
+ descriptor->Initialize(FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure)); |
} |
} |
CallInterfaceDescriptor HandlerStub::GetCallInterfaceDescriptor() { |
- if (kind() == Code::LOAD_IC) { |
+ if (kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC) { |
return LoadDescriptor(isolate()); |
} else { |
DCHECK_EQ(Code::STORE_IC, kind()); |