a1baf2657b
Large allocations would fail due to the flag not being set. Bug: chromium:732836 Change-Id: I31686e382386a2d08582c86b29dc8f89841040d1 Reviewed-on: https://chromium-review.googlesource.com/535563 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Peter Marshall <petermarshall@chromium.org> Cr-Commit-Position: refs/heads/master@{#45999}
12 lines
315 B
JavaScript
12 lines
315 B
JavaScript
// Copyright 2017 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
function boom() {
|
|
var args = [];
|
|
for (var i = 0; i < 125000; i++)
|
|
args.push(1.1);
|
|
return Array.apply(Array, args);
|
|
}
|
|
var array = boom();
|