v8/test/mjsunit/regress/regress-crbug-593697-2.js
ishell 690c7a854a [turbofan] Avoid dereferencing empty handle when inlining a tail call.
BUG=chromium:593697,v8:4698
LOG=N

Review URL: https://codereview.chromium.org/1781303002

Cr-Commit-Position: refs/heads/master@{#34716}
2016-03-11 11:41:29 +00:00

19 lines
423 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
"use strict";
%SetForceInlineFlag(Math.cos);
var f5 = (function f6(stdlib) {
"use asm";
var cos = stdlib.Math.cos;
function f5() {
return cos();
}
return { f5: f5 };
})(this, {}).f5();