diff options
Diffstat (limited to 'src/modules.js')
-rw-r--r-- | src/modules.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules.js b/src/modules.js index 76e5db11..854575e0 100644 --- a/src/modules.js +++ b/src/modules.js @@ -229,6 +229,8 @@ var Types = { hasInlineJS: false, // whether the program has inline JS anywhere + usesSIMD: 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), or PRECISE_I64_MATH is 2 (forced) preciseI64MathUsed: (PRECISE_I64_MATH == 2) @@ -457,6 +459,7 @@ var PassManager = { print('\n//FORWARDED_DATA:' + JSON.stringify({ Types: { hasInlineJS: Types.hasInlineJS, + usesSIMD: Types.usesSIMD, preciseI64MathUsed: Types.preciseI64MathUsed }, Functions: { |