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. 4 5 // Flags: --stack-size=100 --allow-natives-syntax 6 7 var count = 0; 8 function f() { 9 try { 10 f(); 11 } catch(e) { 12 if (count < 100) { 13 count++; 14 %GetDebugContext(); 15 } 16 } 17 } 18 f(); 19