Put atomics behind a feature flag (#470)

This commit is contained in:
Daniel Wirtz
2019-02-07 18:21:09 +01:00
committed by GitHub
parent 2f1a6c44ce
commit 1bd1d26152
6 changed files with 173 additions and 154 deletions

View File

@ -12,6 +12,7 @@ globalScope.ASC_FEATURE_MUTABLE_GLOBAL = false;
globalScope.ASC_FEATURE_SIGN_EXTENSION = false;
globalScope.ASC_FEATURE_BULK_MEMORY = false;
globalScope.ASC_FEATURE_SIMD = false;
globalScope.ASC_FEATURE_THREADS = false;
var F64 = new Float64Array(1);
var U64 = new Uint32Array(F64.buffer);