Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 2d8b56b1cf98a3f7d95a995a77949326d00bd56c..9262364be837372e49b249b1ae69d43e126c7759 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -637,6 +637,8 @@ void HandlerStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
descriptor->Initialize(FUNCTION_ADDR(StoreIC_MissFromStubFailure)); |
} else if (kind() == Code::KEYED_LOAD_IC) { |
descriptor->Initialize(FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure)); |
+ } else if (kind() == Code::KEYED_STORE_IC) { |
+ descriptor->Initialize(FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure)); |
} |
} |
@@ -645,7 +647,7 @@ CallInterfaceDescriptor HandlerStub::GetCallInterfaceDescriptor() { |
if (kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC) { |
return LoadWithVectorDescriptor(isolate()); |
} else { |
- DCHECK_EQ(Code::STORE_IC, kind()); |
+ DCHECK(kind() == Code::STORE_IC || kind() == Code::KEYED_STORE_IC); |
return StoreDescriptor(isolate()); |
} |
} |