// Copyright 2017 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: --ignition-staging --stack-size=100functionModule(stdlib){"use asm";varfround=stdlib.Math.fround;// f: double -> floatfunctionf(a){a=+a;returnfround(a);}return{f:f};}varf=Module({Math:Math}).f;functionrunNearStackLimit(){functiong(){try{g();}catch(e){f();}};g();}(function(){functiong(){}runNearStackLimit(g);})();