From 54223c358a10ff89073e435979a579195f480d33 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 23 Dec 2014 21:50:48 -0800 Subject: [PATCH] Bug 1115217 - Fix a jit-test SIMD test to disable itself when SIMD is not available r=bbouvier --- js/src/jit-test/tests/asm.js/testBug1099216.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/src/jit-test/tests/asm.js/testBug1099216.js b/js/src/jit-test/tests/asm.js/testBug1099216.js index 244469d7f7c..bf120723d64 100644 --- a/js/src/jit-test/tests/asm.js/testBug1099216.js +++ b/js/src/jit-test/tests/asm.js/testBug1099216.js @@ -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;