Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 61eb8ad72a30ff6dd34ae4410c1bca3a644cca00..a0ed5c4b3e934c72f27303c8ac2985a5cb5ef364 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -14848,7 +14848,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ArrayConstructor) { |
Handle<AllocationSite> site; |
if (!type_info.is_null() && |
- *type_info != isolate->heap()->undefined_value()) { |
+ !type_info.is_identical_to( |
+ TypeFeedbackInfo::MegamorphicSentinel(isolate))) { |
site = Handle<AllocationSite>::cast(type_info); |
ASSERT(!site->SitePointsToLiteral()); |
} |