Index: src/ic/ic.h |
diff --git a/src/ic/ic.h b/src/ic/ic.h |
index 85c84746ab6b290edc9e6eca4000f753e234337b..be1aba4939ad32105cd254134a0f5562355d7d29 100644 |
--- a/src/ic/ic.h |
+++ b/src/ic/ic.h |
@@ -63,11 +63,6 @@ class IC { |
Isolate* isolate, |
CacheHolderFlag* flag); |
- static bool IsCleared(Code* code) { |
- InlineCacheState state = code->ic_state(); |
- return !FLAG_use_ic || state == UNINITIALIZED || state == PREMONOMORPHIC; |
- } |
- |
static bool IsCleared(FeedbackNexus* nexus) { |
InlineCacheState state = nexus->StateFromFeedback(); |
return !FLAG_use_ic || state == UNINITIALIZED || state == PREMONOMORPHIC; |