2019-04-30 12:21:21 +00:00
|
|
|
// Copyright 2019 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.
|
|
|
|
|
2022-04-28 14:22:23 +00:00
|
|
|
// Flags: --allow-natives-syntax --no-always-turbofan --turbofan
|
2019-04-30 12:21:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
const v0 = [];
|
|
|
|
function f(b) {
|
|
|
|
for (let v13 = 0; v13 <= 3; v13 = v13 + 2241165261) {
|
|
|
|
for (let i = 0; i < 8; i++) {}
|
2019-06-12 14:00:50 +00:00
|
|
|
const v23 = Math.max(v13, -0.0, -2523259642);
|
2019-04-30 12:21:21 +00:00
|
|
|
const v24 = v0[v23];
|
|
|
|
}
|
2019-06-12 14:00:50 +00:00
|
|
|
};
|
|
|
|
%PrepareFunctionForOptimization(f);
|
2019-04-30 12:21:21 +00:00
|
|
|
f();
|
|
|
|
f();
|
|
|
|
%OptimizeFunctionOnNextCall(f);
|
|
|
|
f();
|