v8/test/mjsunit/asm/regress-641885.js
bradnelson e8188a2d99 [wasm][asm.js] Exclude zero left hand side in arm64 isel.
BUG=641885
R=titzer@chromium.org,rossberg@chromium.org

Review-Url: https://codereview.chromium.org/2620953002
Cr-Commit-Position: refs/heads/master@{#42190}
2017-01-10 17:46:11 +00:00

14 lines
348 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.
var __f_2 = (function __f_4() {
"use asm";
function __f_2(i) {
i = i|0;
i = i << -2147483648 >> -1073741824;
return i|0;
}
return { __f_2: __f_2 };
})().__f_2;