2015-05-29 11:37:10 +00:00
|
|
|
// 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.
|
|
|
|
|
2015-06-05 15:52:04 +00:00
|
|
|
// Flags: --allow-natives-syntax --stack-size=100
|
2015-05-29 11:37:10 +00:00
|
|
|
|
|
|
|
function g() {}
|
|
|
|
|
|
|
|
var count = 0;
|
|
|
|
function f() {
|
|
|
|
try {
|
|
|
|
f();
|
|
|
|
} catch(e) {
|
|
|
|
print(e.stack);
|
|
|
|
}
|
2015-06-05 15:52:04 +00:00
|
|
|
if (count < 100) {
|
2015-05-29 11:37:10 +00:00
|
|
|
count++;
|
2018-07-05 20:34:14 +00:00
|
|
|
%DebugGetLoadedScriptIds();
|
2015-05-29 11:37:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
f();
|
|
|
|
g();
|