Home | History | Annotate | Download | only in regress
      1 // Copyright 2014 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=150
      6 // Requries ASAN.
      7 
      8 function runNearStackLimit(f) { function t() { try { t(); } catch(e) { f(); } }; try { t(); } catch(e) {} }
      9 function __f_0(
     10   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     11   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     12   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     13   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     14   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     15   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     16   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     17   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     18   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     19   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     20   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     21   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     22   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     23   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     24   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
     25   x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x
     26 ) { }
     27 runNearStackLimit(__f_0);
     28