ea4a6c7f35
It was shipped in Chrome 64. Bug: v8:5437 Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng Change-Id: I6d9ac762b2eafdf4e64fd1dd10dbce553a8455f9 Reviewed-on: https://chromium-review.googlesource.com/1086790 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Mathias Bynens <mathias@chromium.org> Cr-Commit-Position: refs/heads/master@{#53510}
16 lines
382 B
JavaScript
16 lines
382 B
JavaScript
// 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: --stack-size=100
|
|
|
|
function call_replace_close_to_stack_overflow() {
|
|
try {
|
|
call_replace_close_to_stack_overflow();
|
|
} catch {
|
|
"b".replace(/(b)/g);
|
|
}
|
|
}
|
|
|
|
call_replace_close_to_stack_overflow();
|