aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-06 20:02:30 -0700
committeralon@honor <none@none>2010-10-06 20:02:30 -0700
commit99f96653a706fc61d4be31ce8b45cd6d74c06c6a (patch)
tree8a997d03444ba0ee55d6ec8e68dbeb799be68915 /src/settings.js
parent0390eea0b6d157be7d7e2ae0e388e16a3db92581 (diff)
Runtime system, and inlining of stackEnter/Exit
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 9f6baa40..660671fd 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -18,6 +18,8 @@ GUARD_SIGNS = 1; // Whether we make sure to convert unsigned values to signed va
// 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
+GUARD_STACK = 1; // Whether we should check that each allocation to the stack does not
+ // exceed it's size
// Code embetterments
OPTIMIZE = 0; // Optimize llvm operations into js commands