ea2fbb7620
The syntax is "return continue expr;". BUG=v8:4915 LOG=Y Review URL: https://codereview.chromium.org/1917993004 Cr-Commit-Position: refs/heads/master@{#35799}
20 lines
339 B
JavaScript
20 lines
339 B
JavaScript
// Copyright 2016 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: --harmony-explicit-tailcalls
|
|
|
|
function f() {
|
|
return 1;
|
|
}
|
|
|
|
function g() {
|
|
try {
|
|
f();
|
|
} catch(e) {
|
|
return continue f();
|
|
} finally {
|
|
f();
|
|
}
|
|
}
|