-
Notifications
You must be signed in to change notification settings - Fork 29.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs: v8/v8@7.4.288.17...7.4.288.18 PR-URL: #27066 Refs: v8/v8@7.4.288.13...7.4.288.17 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
- Loading branch information
Showing
3 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// 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. | ||
|
||
// Flags: --allow-natives-syntax | ||
|
||
function f(v5,v6) { | ||
const v16 = [1337,1337,-765470.5051836492]; | ||
let v19 = 0; | ||
do { | ||
const v20 = v19 + 1; | ||
const v22 = Math.fround(v20); | ||
v19 = v22; | ||
const v23 = [v20, v22]; | ||
function v24() { v20; v22; } | ||
const v33 = v16.indexOf(v19); | ||
} while (v19 < 6); | ||
} | ||
|
||
f(); | ||
Array.prototype.push(8); | ||
%OptimizeFunctionOnNextCall(f); | ||
f(); |