Commit 6c19c79f authored by mstarzinger's avatar mstarzinger Committed by Commit bot

[turbofan] Fix test of %_MathClz32 intrinsic.

This test will fail once we optimize top-level code, because the
aforementioned intrinsic doesn't perform a NumberToUint32 conversion.

R=titzer@chromium.org
TEST=mjsunit/asm/math-clz32

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

Cr-Commit-Position: refs/heads/master@{#27524}
parent ee9c7389
......@@ -27,5 +27,5 @@ for (var i = 0; i < 32; ++i) {
}
for (var i = -2147483648; i < 2147483648; i += 3999773) {
assertEquals(%MathClz32(i), f(i));
assertEquals(%_MathClz32(i), f(i));
assertEquals(%MathClz32(i), %_MathClz32(i >>> 0));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment