summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/regress/regress-1416520.js
blob: 7c1e6737869d59848a3ed9c8cf0a4e2c9f74a56f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2023 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 test(x) {
    return x / 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137216;
}

%PrepareFunctionForOptimization(test);
test();
%OptimizeFunctionOnNextCall(test);
test();