Index: src/type-info.cc |
diff --git a/src/type-info.cc b/src/type-info.cc |
index cf3950f4f01b2af65111bb10c5e02b93a33bc796..5b9a71dcb9bae6dc5aed3cc78f301ba27cb08175 100644 |
--- a/src/type-info.cc |
+++ b/src/type-info.cc |
@@ -9,11 +9,8 @@ |
#include "src/compiler.h" |
#include "src/ic/ic.h" |
#include "src/ic/stub-cache.h" |
-#include "src/macro-assembler.h" |
#include "src/type-info.h" |
-#include "src/objects-inl.h" |
- |
namespace v8 { |
namespace internal { |
@@ -81,17 +78,6 @@ bool TypeFeedbackOracle::StoreIsUninitialized(TypeFeedbackId ast_id) { |
} |
-bool TypeFeedbackOracle::StoreIsKeyedPolymorphic(TypeFeedbackId ast_id) { |
- Handle<Object> maybe_code = GetInfo(ast_id); |
- if (maybe_code->IsCode()) { |
- Handle<Code> code = Handle<Code>::cast(maybe_code); |
- return code->is_keyed_store_stub() && |
- code->ic_state() == POLYMORPHIC; |
- } |
- return false; |
-} |
- |
- |
bool TypeFeedbackOracle::CallIsMonomorphic(int slot) { |
Handle<Object> value = GetInfo(slot); |
return value->IsAllocationSite() || value->IsJSFunction(); |