Index: src/type-info.cc |
diff --git a/src/type-info.cc b/src/type-info.cc |
index 7a7f992cd9a61b8300664a282029954381b84f48..65d1364058eaf672d99a583480028a37d4da6030 100644 |
--- a/src/type-info.cc |
+++ b/src/type-info.cc |
@@ -200,15 +200,7 @@ bool TypeFeedbackOracle::StoreIsKeyedPolymorphic(TypeFeedbackId ast_id) { |
bool TypeFeedbackOracle::CallIsMonomorphic(Call* expr) { |
Handle<Object> value = GetInfo(expr->CallFeedbackId()); |
return value->IsMap() || value->IsAllocationSite() || value->IsJSFunction() || |
- value->IsSmi() || |
- (value->IsCode() && Handle<Code>::cast(value)->ic_state() == MONOMORPHIC); |
-} |
- |
- |
-bool TypeFeedbackOracle::KeyedArrayCallIsHoley(Call* expr) { |
- Handle<Object> value = GetInfo(expr->CallFeedbackId()); |
- Handle<Code> code = Handle<Code>::cast(value); |
- return KeyedArrayCallStub::IsHoley(code); |
+ value->IsSmi(); |
} |
@@ -628,6 +620,7 @@ void TypeFeedbackOracle::ProcessRelocInfos(ZoneList<RelocInfo>* infos) { |
case Code::LOAD_IC: |
case Code::STORE_IC: |
case Code::CALL_IC: |
+ case Code::KEYED_CALL_IC: |
if (target->ic_state() == MONOMORPHIC) { |
if (target->kind() == Code::CALL_IC && |
target->check_type() != RECEIVER_MAP_CHECK) { |
@@ -647,7 +640,6 @@ void TypeFeedbackOracle::ProcessRelocInfos(ZoneList<RelocInfo>* infos) { |
} |
break; |
- case Code::KEYED_CALL_IC: |
case Code::KEYED_LOAD_IC: |
case Code::KEYED_STORE_IC: |
case Code::BINARY_OP_IC: |