// Copyright 2015 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 --use-osr --turbo-osrfunctionf(){varsum=0;for(vari=5;i<6;i++){for(varj=0;j<1000;j++){varx=i+2;vary=x+5;varz=y+3;sum+=z;if(i==25)%OptimizeOsr();}if(true)break;}returnsum;}assertEquals(15000,f());assertEquals(15000,f());assertEquals(15000,f());