diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-23 15:58:23 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-23 15:58:23 -0800 |
commit | 19fc5147a448901be239e6d4f9d777e75cfb15d6 (patch) | |
tree | 6836af935fc139820cea709bffd0e4260608d096 /src/settings.js | |
parent | c5792d7e865ac6b41aa1a056c71a9e1ed1ea7f77 (diff) |
support unaligned reads/writes in ta2; fixes test_cubescript
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/settings.js b/src/settings.js index 7e900ea9..ae07b1f4 100644 --- a/src/settings.js +++ b/src/settings.js @@ -73,13 +73,6 @@ var DOUBLE_MODE = 1; // How to load and store 64-bit doubles. Without typed arra // then load it aligned, and that load-store will make JS engines alter it if it is being // stored to a typed array for security reasons. That will 'fix' the number from being a // NaN or an infinite number. -var EMULATE_UNALIGNED_ACCESSES = 0; // If set, the compiler will 'emulate' loads and stores that are not known to - // be sufficiently aligned, by working on individual bytes. This can be - // important in USE_TYPED_ARRAYS == 2, where unaligned accesses do not work, - // specifically in the case where unsafe LLVM optimizations have generated possibly - // unaligned code. (Without unsafe LLVM optimizations, there should be no - // need for this option.) - // Currently this only works for integers, not doubles and floats. var CLOSURE_ANNOTATIONS = 0; // If set, the generated code will be annotated for the closure // compiler. This potentially lets closure optimize the code better. |