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