Skip to content

Commit 95c41a5

Browse files
committed
Fixed incorrect function calls to test functions
1 parent 3913bd5 commit 95c41a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/loop/loopinversion.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ g5();
7373
// Tests that loop inversion does not crash when the outer loop does not have
7474
// a condition. In order to not stay in an infinite loop, these functions return
7575
// immediately. The bytecode will still be generated.
76-
function g6(p){if(!p) return; var a = 0; for (var h = 0;; ++h){ for (var r = 0; r < 1; ++r){ a = r; }}};g4a(0);
77-
function g6a(p){"use strict"; if(!p) return; var a = 0; for (var h = 0;; ++h){ for (var r = 0; r < 1; ++r){ a = r; }}};g4a(0);
76+
function g6(p){if(!p) return; var a = 0; for (var h = 0;; ++h){ for (var r = 0; r < 1; ++r){ a = r; }}};g6(0);
77+
function g6a(p){"use strict"; if(!p) return; var a = 0; for (var h = 0;; ++h){ for (var r = 0; r < 1; ++r){ a = r; }}};g6a(0);
7878

7979
WScript.Echo("pass");

0 commit comments

Comments
 (0)