diff options
author | alon@honor <none@none> | 2010-09-30 21:02:30 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-09-30 21:02:30 -0700 |
commit | cbea94c15230599f0f909329783e08f6713e766c (patch) | |
tree | c4bd49e9b6e29255143b76d18e7739103a3e6e6e /src/settings.js | |
parent | 13e243c8cb9e4d91bc74d927fc2eabd4938c97a8 (diff) |
optional stricter support for unsigned values +test
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index f6282ed4..815832ed 100644 --- a/src/settings.js +++ b/src/settings.js @@ -13,6 +13,10 @@ QUANTUM_SIZE = 1; // This is the size of an individual field in a structure. 1 w // way to prevent problems with that is to set QUANTUM_SIZE to 8. // See the 'copyop' automatic test. +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. + // Code embetterments OPTIMIZE = 1; // Optimize llvm operations into js commands RELOOP = 0; // Recreate js native loops from llvm data XXX - disabled pending optimizing rewrite |