aboutsummaryrefslogtreecommitdiff
path: root/src/modules.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-18 12:59:55 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-18 13:00:50 -0700
commit4cdc5fea95821751396b8a8bc350bf6b1eaf01d4 (patch)
treebfae7f78c9cca304dd4610307b0ef55488b382a8 /src/modules.js
parentd32d18af61f4b9f83036d5573cad747607023bf7 (diff)
integrate the SIMD polyfill code
Diffstat (limited to 'src/modules.js')
-rw-r--r--src/modules.js3
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: {