Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index e74d408ca62905c41c13d672ab5b22eb53fdf193..5124260ca946cd9521b1699329efdfa7f005f9ef 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -5201,14 +5201,10 @@ void KeyedLoadGenericStub::InitializeDescriptor( |
void HandlerStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
- if (kind() == Code::STORE_IC) { |
- descriptor->Initialize(FUNCTION_ADDR(Runtime_StoreIC_MissFromStubFailure)); |
- } else if (kind() == Code::KEYED_LOAD_IC) { |
+ DCHECK(kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC); |
+ if (kind() == Code::KEYED_LOAD_IC) { |
descriptor->Initialize( |
FUNCTION_ADDR(Runtime_KeyedLoadIC_MissFromStubFailure)); |
- } else if (kind() == Code::KEYED_STORE_IC) { |
- descriptor->Initialize( |
- FUNCTION_ADDR(Runtime_KeyedStoreIC_MissFromStubFailure)); |
} |
} |