Commit e40c8a3a authored by Nico Hartmann's avatar Nico Hartmann Committed by V8 LUCI CQ

Regression test for 1208805

Bug: chromium:1208805
Change-Id: Ia211d74f8de1dd031d5bda9885ec567e2d56b4cf
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2897089
Auto-Submit: Nico Hartmann <nicohartmann@chromium.org>
Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79323}
parent 6a6c1168
// Copyright 2021 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: --allow-natives-syntax
'use strict'
function outer_func() {
function inner_func() {
let step = 1;
for (let i = 0; i < 10; i = i + step) {
const v14 = step++;
const v15 = v14 * i;
function dumb_func() {
}
}
}
for (let v24 = 0; v24 < 10; v24++) {
inner_func();
}
}
for (let j = 0; j < 10000; j++) {
outer_func();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment