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
7 var shouldThrow = false;
10 try { // Prevent inlining in Crankshaft.
12 var res = g.arguments[0].x;
19 function g(o) { h(); }
37 %OptimizeFunctionOnNextCall(f1);
38 %OptimizeFunctionOnNextCall(f2);
40 try { f1(); } catch(e) {
43 try { f2(); } catch(e) {