diff options
author | Alon Zakai <azakai@mozilla.com> | 2011-03-04 20:02:31 -0800 |
---|---|---|
committer | Alon Zakai <azakai@mozilla.com> | 2011-03-04 20:02:31 -0800 |
commit | 1545aaf14f7ce5a92c5acec23687742d0d4fa0ec (patch) | |
tree | eeceb9e8882aac1eaac1068789866ac0c19883c3 /src/compiler.js | |
parent | 46691ad5cd94f1a629ac747831e9572b3661682e (diff) |
integer rounding fixes and CORRECT_ROUNDINGS option
Diffstat (limited to 'src/compiler.js')
-rw-r--r-- | src/compiler.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler.js b/src/compiler.js index e18492d5..b60f650e 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -25,10 +25,12 @@ var CONSTANTS = { 'QUANTUM_SIZE': QUANTUM_SIZE }; if (CORRECT_SIGNS === 2) { CORRECT_SIGNS_LINES = set(CORRECT_SIGNS_LINES); // for fast checking } - if (CORRECT_OVERFLOWS === 2) { CORRECT_OVERFLOWS_LINES = set(CORRECT_OVERFLOWS_LINES); // for fast checking } +if (CORRECT_ROUNDINGS === 2) { + CORRECT_ROUNDINGS_LINES = set(CORRECT_ROUNDINGS_LINES); // for fast checking +} // Load compiler code |