aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-05 17:16:27 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-05 17:16:27 -0800
commitb2c5374402ae4e952c652772e9907a8f1c0efec9 (patch)
treed13c468bc4b60e25d3b5fa02ae085dcdbcba7cce /src/settings.js
parent9b375268703182c08c3f64433d3f0cb7a17880bc (diff)
initial work on annotating the generated code for closure compiler
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index b3442c01..5aa647b2 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -66,6 +66,9 @@ var EMULATE_UNALIGNED_ACCESSES = 1; // If set, the compiler will 'emulate' loads
// need for this option.)
// Currently this only works for integers, not doubles and floats.
+var CLOSURE_ANNOTATIONS = 0; // If set, the generated code will be annotated for the closure
+ // compiler. This potentially lets closure optimize the code better.
+
var SKIP_STACK_IN_SMALL = 1; // When enabled, does not push/pop the stack at all in
// functions that have no basic stack usage. But, they
// may allocate stack later, and in a loop, this can be