diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-16 10:49:47 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-16 10:49:47 -0800 |
commit | 9953de1d753ccf77494b42b0c19577413e5de6a1 (patch) | |
tree | 0a283e1bde7949b33c22da831823e3a908130dd3 /src/modules.js | |
parent | d82d4ea70fc43816a857038cd16eb5520ddd14c6 (diff) |
add PRECISE_I64_MATH mode 2, to force inclusion of i64 code even when we can't tell at compile time it is needed. helps with #716
Diffstat (limited to 'src/modules.js')
-rw-r--r-- | src/modules.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules.js b/src/modules.js index 1449e3f4..f85794bc 100644 --- a/src/modules.js +++ b/src/modules.js @@ -207,8 +207,9 @@ var Types = { needAnalysis: {}, // Types noticed during parsing, that need analysis - preciseI64MathUsed: false // Set to true if we actually use precise i64 math: If PRECISE_I64_MATH is set, and also such math is actually - // needed (+,-,*,/,% - we do not need it for bitops) + // Set to true if we actually use precise i64 math: If PRECISE_I64_MATH is set, and also such math is actually + // needed (+,-,*,/,% - we do not need it for bitops), or PRECISE_I64_MATH is 2 (forced) + preciseI64MathUsed: (PRECISE_I64_MATH == 2) }; var Functions = { |