1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Flags: --allow-natives-syntax --use-osr --turbo-osr
9 for (var i = 0; i < 3; i = i + 1 | 0) {
16 for (var i = 0; i < 3; i = i + 1 | 0) {
23 for (var i = 0; i < 3; i = i + 1 | 0) {
30 for (var i = 0; i < 3; i = i + 1 | 0) {
36 function f4(a,b,c,d) {
37 for (var i = 0; i < 3; i = i + 1 | 0) {
44 assertEquals(3, f0().blah);
45 assertEquals(3, f1().blah);
46 assertEquals(3, f2().blah);
47 assertEquals(3, f3().blah);
48 assertEquals(3, f4().blah);