aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler.js')
-rw-r--r--src/compiler.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler.js b/src/compiler.js
index 46d6b5cf..bdfdbba8 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -27,16 +27,16 @@ for (setting in settings) {
}
var CONSTANTS = { 'QUANTUM_SIZE': QUANTUM_SIZE };
-if (CORRECT_SIGNS === 2) {
+if (CORRECT_SIGNS >= 2) {
CORRECT_SIGNS_LINES = set(CORRECT_SIGNS_LINES); // for fast checking
}
-if (CORRECT_OVERFLOWS === 2) {
+if (CORRECT_OVERFLOWS >= 2) {
CORRECT_OVERFLOWS_LINES = set(CORRECT_OVERFLOWS_LINES); // for fast checking
}
-if (CORRECT_ROUNDINGS === 2) {
+if (CORRECT_ROUNDINGS >= 2) {
CORRECT_ROUNDINGS_LINES = set(CORRECT_ROUNDINGS_LINES); // for fast checking
}
-if (SAFE_HEAP === 2) {
+if (SAFE_HEAP >= 2) {
SAFE_HEAP_LINES = set(SAFE_HEAP_LINES); // for fast checking
}