diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-03-21 19:48:26 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-03-21 19:48:26 -0700 |
commit | 24856d20699818b35f01963e4144c87d1a5c56ff (patch) | |
tree | ade6915ad86dedcc646eec29bcca845d5bf90212 /src/settings.js | |
parent | 98f6e8924d27246f40f50ec3f75084f1f04b6459 (diff) |
optimize FUNCTION_POINTER and exporting
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index ceda7ec8..a93d9183 100644 --- a/src/settings.js +++ b/src/settings.js @@ -68,6 +68,9 @@ CORRECT_ROUNDINGS = 1; // C rounds to 0 (-5.5 to -5, +5.5 to 5), while JS has no // Math.floor is to negative, ceil to positive. With CORRECT_ROUNDINGS, // we will do slow but correct C rounding operations. +EXPORTED_FUNCTIONS = ['_main']; // Functions that are explicitly exported, so they are guaranteed to + // be accessible outside of the generated code. + SHOW_LABELS = 0; // Show labels in the generated code // Compiler debugging options |