aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-04 23:55:02 -0500
committerAlon Zakai <alonzakai@gmail.com>2014-02-04 23:55:02 -0500
commitb51a2337e92afbfdcfcc21f2d5a64370b3320e89 (patch)
treef4cacd250319d7b00c3492b9eb338ee4ec9d8617
parent1968ba1aa8a899193483c917e8c2534a4836e4fa (diff)
disable WARN_UNALIGNED by default
-rw-r--r--src/settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.js b/src/settings.js
index 8f3ef70b..fc54dc5a 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -104,7 +104,7 @@ var FORCE_ALIGNED_MEMORY = 0; // If enabled, assumes all reads and writes are fu
// for ways to help find places in your code where unaligned reads/writes are done -
// you might be able to refactor your codebase to prevent them, which leads to
// smaller and faster code, or even the option to turn this flag on.
-var WARN_UNALIGNED = 1; // Warn at compile time about instructions that LLVM tells us are not fully aligned.
+var WARN_UNALIGNED = 0; // Warn at compile time about instructions that LLVM tells us are not fully aligned.
// This is useful to find places in your code where you might refactor to ensure proper
// alignment. (this option is fastcomp-only)
var PRECISE_I64_MATH = 1; // If enabled, i64 addition etc. is emulated - which is slow but precise. If disabled,