diff options
-rw-r--r-- | src/parseTools.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index 5e5df88f..6d65a9c7 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -1367,6 +1367,10 @@ function makeCopyValues(dest, src, num, type, modifier, align, sep) { return '_memcpy(' + dest + ', ' + src + ', ' + num + ')'; } num = parseInt(num); + if (ASM_JS) { + dest = stripCorrections(dest); // remove corrections, since we will be correcting after we add anyhow, + src = stripCorrections(src); // and in the heap assignment expression + } var ret = []; [4, 2, 1].forEach(function(possibleAlign) { if (num == 0) return; |