Files
Kmake/deps/v8/test/mjsunit/regress/regress-340824111.js

18 lines
426 B
JavaScript
Raw Normal View History

2026-05-26 23:36:42 -07:00
// Copyright 2024 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
function f5() {
for (let [v11] of [[22632n]]) {
const v12 = v11 * v11;
const v14 = v11 && v12;
v14 + v14;
}
}
%PrepareFunctionForOptimization(f5);
f5();
%OptimizeFunctionOnNextCall(f5);
f5();