diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-12 14:06:06 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-12 14:06:06 -0800 |
commit | efea3a1441c018835c2935a457f2b6914ba9d4ba (patch) | |
tree | 9daf1c1217a73bb1fe4aaa8233137e4fba6ce194 | |
parent | 063298bda9a66fc55b22c55d4ddf8ca3768efc8a (diff) |
disable EMULATE_UNALIGNED_ACCESSES by default - it isn't needed
-rw-r--r-- | src/settings.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.js b/src/settings.js index 1e041508..c5b10454 100644 --- a/src/settings.js +++ b/src/settings.js @@ -69,7 +69,7 @@ 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 = 1; // If set, the compiler will 'emulate' loads and stores that are not known to +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 |