aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/settings.js b/src/settings.js
index 32db3739..302f04b2 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -1,7 +1,12 @@
-OPTIMIZE = 1;
-RELOOP = 0;
-SAFE_HEAP = 0;
-LABEL_DEBUG = 0;
+// Code embetterments
+OPTIMIZE = 1; // Optimize llvm operations into js commands
+RELOOP = 1; // Recreate js native loops from llvm data
-DEBUG_TAGS_SHOWING = ['labelbranching', 'enzymatic'];
+// Generated code debugging options
+SAFE_HEAP = 0; // Check each write to the heap against a list of blocked addresses
+LABEL_DEBUG = 0; // Print out labels and functions as we enter them
+EXECUTION_TIMEOUT = -1; // Throw an exception after X seconds - useful to debug infinite loops
+
+// Compiler debugging options
+DEBUG_TAGS_SHOWING = ['enzymatic'];