Bug 1115217 - Fix a jit-test SIMD test to disable itself when SIMD is not available r=bbouvier

This commit is contained in:
Dan Gohman 2014-12-23 21:50:48 -08:00
parent 3c27e21f16
commit 54223c358a

View File

@ -1,3 +1,8 @@
if (typeof SIMD === 'undefined' || !isSimdAvailable()) {
print("won't run tests as simd extensions aren't activated yet");
quit(0);
}
(function(global) {
"use asm";
var frd = global.Math.fround;