mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1201124: Protect SIMD on arm to prevent bustage; r=me
This commit is contained in:
parent
0fea3fd083
commit
7566342dc7
@ -2,8 +2,12 @@
|
||||
load(libdir + "asm.js");
|
||||
load(libdir + "asserts.js");
|
||||
|
||||
if (typeof newGlobal !== 'function')
|
||||
if (typeof newGlobal !== 'function' ||
|
||||
!isSimdAvailable() ||
|
||||
typeof SIMD === 'undefined')
|
||||
{
|
||||
quit();
|
||||
}
|
||||
|
||||
var stdlib = new (newGlobal().Proxy)(this, new Proxy({
|
||||
simdGet: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user