2016-04-27 13:02:28 +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-27 13:02:28 +00:00
|
|
|
|
|
|
|
function f() {
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
function g() {
|
|
|
|
for (var v of [1, 2, 3]) {
|
2016-05-04 13:42:52 +00:00
|
|
|
return continue f() ;
|
2016-04-27 13:02:28 +00:00
|
|
|
}
|
|
|
|
}
|