diff options
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index 0e70316f..17f3f5e8 100644 --- a/src/settings.js +++ b/src/settings.js @@ -48,6 +48,8 @@ USE_TYPED_ARRAYS = 0; // Try to use typed arrays for the heap // 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 +USE_FHEAP = 1; // Relevant in USE_TYPED_ARRAYS == 1. If this is disabled, only IHEAP will be used, and FHEAP + // not generated at all. This is useful if your code is 100% ints without floats or 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 |