Index: src/type-info.cc |
diff --git a/src/type-info.cc b/src/type-info.cc |
index fb0f45a416791fa8c5e27b93eedaa9e197261f6e..80d3434c97fe40b37eb22baa41ec459902a71a5c 100644 |
--- a/src/type-info.cc |
+++ b/src/type-info.cc |
@@ -493,8 +493,7 @@ void TypeFeedbackOracle::CollectReceiverTypes(TypeFeedbackId ast_id, |
Handle<Object> object = GetInfo(ast_id); |
if (object->IsUndefined() || object->IsSmi()) return; |
- if (*object == |
- isolate_->builtins()->builtin(Builtins::kStoreIC_GlobalProxy)) { |
+ if (object.is_identical_to(isolate_->builtins()->StoreIC_GlobalProxy())) { |
// TODO(fschneider): We could collect the maps and signal that |
// we need a generic store (or load) here. |
ASSERT(Handle<Code>::cast(object)->ic_state() == GENERIC); |