2016-04-26 17:30:21 +00:00
|
|
|
// 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
|
2016-05-09 11:41:39 +00:00
|
|
|
"use strict";
|
2016-04-26 17:30:21 +00:00
|
|
|
|
|
|
|
function f() {
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
function g() {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
f();
|
|
|
|
} catch(e) {
|
2016-05-04 13:42:52 +00:00
|
|
|
return continue f() ;
|
2016-04-26 17:30:21 +00:00
|
|
|
}
|
|
|
|
} finally {
|
|
|
|
f();
|
|
|
|
}
|
|
|
|
}
|