Index: src/ic/ic.h |
diff --git a/src/ic/ic.h b/src/ic/ic.h |
index b77ceb6a5821bc7564d3aa45c412e8578278b367..d2bb5dd9c227d7b2f619ea0dec1fbe5bb402bde6 100644 |
--- a/src/ic/ic.h |
+++ b/src/ic/ic.h |
@@ -301,12 +301,7 @@ class LoadIC : public IC { |
protected: |
Handle<Code> slow_stub() const { |
- if (kind() == Code::LOAD_IC) { |
- return isolate()->builtins()->LoadIC_Slow(); |
- } else { |
- DCHECK_EQ(Code::KEYED_LOAD_IC, kind()); |
- return isolate()->builtins()->KeyedLoadIC_Slow(); |
- } |
+ return isolate()->builtins()->LoadIC_Slow(); |
} |
// Update the inline cache and the global stub cache based on the |