aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-04 21:15:59 -0700
committeralon@honor <none@none>2010-10-04 21:15:59 -0700
commitccb8f47e51e20d0735f5478dd403309e43985a8a (patch)
tree51a92ec2c55eba7a47d54976617db8fec18261c3 /src/settings.js
parentd4d0a06a49dba346ad20bce3392fb677822b0eb9 (diff)
GUARD_LABELS option + further cleanup
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index 176d6667..27dbf7f4 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -16,6 +16,8 @@ QUANTUM_SIZE = 1; // This is the size of an individual field in a structure. 1 w
GUARD_SIGNS = 1; // Whether we make sure to convert unsigned values to signed values.
// Decreases performance with additional runtime checks. Might not be
// needed in some kinds of code.
+GUARD_LABELS = 0; // Whether we should throw if we encounter a bad __label__, i.e.,
+ // if code flow runs into a fault
// Code embetterments
OPTIMIZE = 0; // Optimize llvm operations into js commands