diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-07 11:32:38 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-07 11:32:38 -0500 |
commit | 484a2d3a162d27ee957b29f8f6ffc721c98745e1 (patch) | |
tree | fba5b7e2891c6fe3fa638da357594333e1aa3ec5 /src | |
parent | b286fb5aa3999ab6834f563c3b86bcf558312a00 (diff) |
do not emit i64 support code in shared libs
Diffstat (limited to 'src')
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index ef15088e..d8bcf5b6 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -1852,7 +1852,7 @@ function JSify(data, functionsOnly) { // rest of the output that we started to print out earlier (see comment on the // "Final shape that will be created"). if (PRECISE_I64_MATH && Types.preciseI64MathUsed) { - if (!INCLUDE_FULL_LIBRARY && !SIDE_MODULE) { + if (!INCLUDE_FULL_LIBRARY && !SIDE_MODULE && !BUILD_AS_SHARED_LIB) { // first row are utilities called from generated code, second are needed from fastLong ['i64Add', 'i64Subtract', 'bitshift64Shl', 'bitshift64Lshr', 'bitshift64Ashr', 'llvm_ctlz_i32', 'llvm_cttz_i32'].forEach(function(func) { |