| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 3ab39abfcc7676d288c57bba9ff0d81672e6a51c..a7ed3a243b60393aec0b3ae6452e6626ab23a66c 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -14762,6 +14762,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ArrayConstructor) {
|
|
|
| Handle<AllocationSite> site;
|
| if (!type_info.is_null() &&
|
| + *type_info != isolate->heap()->null_value() &&
|
| *type_info != isolate->heap()->undefined_value()) {
|
| site = Handle<AllocationSite>::cast(type_info);
|
| ASSERT(!site->SitePointsToLiteral());
|
|
|