2ed278f04a
R=clemensh@chromium.org TEST=mjsunit/asm/regress-718745 BUG=chromium:718745 Change-Id: I4d31e90d7a2bbb1d07ce946682a95582f63c7e27 Reviewed-on: https://chromium-review.googlesource.com/497469 Reviewed-by: Clemens Hammacher <clemensh@chromium.org> Commit-Queue: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#45134}
14 lines
323 B
JavaScript
14 lines
323 B
JavaScript
// Copyright 2017 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.
|
|
|
|
function Module(stdlib) {
|
|
"use asm";
|
|
var fround = stdlib.Math.fround;
|
|
function f(a) {
|
|
a = (fround(a));
|
|
}
|
|
return { f:f };
|
|
}
|
|
Module(this).f();
|