689980f7d4
In case when F inlined normal call to G which tail calls H we should not write translation for G for the tail call site. Otherwise we will see G in a stack trace inside H. This CL also enables all existing tests related to ES6 tail call elimination. TBR=bmeurer@chromium.org BUG=v8:4698 LOG=N Review URL: https://codereview.chromium.org/1780043004 Cr-Commit-Position: refs/heads/master@{#34830}
14 lines
353 B
JavaScript
14 lines
353 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: --allow-natives-syntax --harmony-tailcalls
|
|
|
|
try {
|
|
load("mjsunit/es6/tail-call-megatest.js");
|
|
} catch(e) {
|
|
load("test/mjsunit/es6/tail-call-megatest.js");
|
|
}
|
|
|
|
run_tests(3);
|