aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-12 14:06:06 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-12 14:06:06 -0800
commitefea3a1441c018835c2935a457f2b6914ba9d4ba (patch)
tree9daf1c1217a73bb1fe4aaa8233137e4fba6ce194
parent063298bda9a66fc55b22c55d4ddf8ca3768efc8a (diff)
disable EMULATE_UNALIGNED_ACCESSES by default - it isn't needed
-rw-r--r--src/settings.js2
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