2015-06-30 08:30:07 +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.
|
|
|
|
|
|
|
|
// Flags: --stack-size=100 --allow-natives-syntax
|
|
|
|
|
2015-07-20 09:50:47 +00:00
|
|
|
var count = 0;
|
2015-06-30 08:30:07 +00:00
|
|
|
function f() {
|
|
|
|
try {
|
|
|
|
f();
|
|
|
|
} catch(e) {
|
2015-07-20 09:50:47 +00:00
|
|
|
if (count < 100) {
|
|
|
|
count++;
|
|
|
|
%GetDebugContext();
|
|
|
|
}
|
2015-06-30 08:30:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
f();
|