v8/test/mjsunit/compiler/regress-1109174.js
Georg Neis 6ef0ec94a2 [turbofan] Do more checks for dead nodes in BranchElimination
Bug: chromium:1109174
Change-Id: I25924afe9ad9c147e7f89299983032c82f74626d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2320668
Auto-Submit: Georg Neis <neis@chromium.org>
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69106}
2020-07-28 14:27:31 +00:00

19 lines
469 B
JavaScript

// Copyright 2020 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.
// Flags: --interrupt-budget=1024
(function() {
let n = 0;
do {
for (let i = 0; i < 100; i++) {
function unused() {}
let a = [i];
let b = String.fromCodePoint(i, 1).padStart();
a.reduce(parseInt, b);
}
for (let j = 0; j < 1; j++) {}
} while (++n < 2);
})();