aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-07-03 08:27:33 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-07-03 08:27:33 -0700
commit4e9d7978c6cdcc6eba29e372b763343f1bb4a1ff (patch)
treec8c6f386cffbf53fa3a4e9efa35b0d6f369803ff /src/settings.js
parent867e0fcb19d06acae5d3d419d167b195168bb691 (diff)
comments
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index 437d61b5..544cc7c2 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -46,6 +46,7 @@ USE_TYPED_ARRAYS = 0; // Try to use typed arrays for the heap
// simply because double stores are not necessarily 64-bit aligned, and we can only access
// 64-bit aligned values with a 64-bit typed array. Likewise int64s are stored as int32's,
// which is potentially very dangerous!
+ // TODO: require compiling with -malign-double, which does align doubles
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