aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index d787e30c..12e550ff 100644
--- a/src/library.js
+++ b/src/library.js
@@ -4155,8 +4155,10 @@ LibraryManager.library = {
memcpy__inline: function (dest, src, num, align) {
var ret = '';
#if ASSERTIONS
+#if ASM_JS == 0
ret += "assert(" + num + " % 1 === 0);"; //, 'memcpy given ' + " + num + " + ' bytes to copy. Problem with quantum=1 corrections perhaps?');";
#endif
+#endif
ret += makeCopyValues(dest, src, num, 'null', null, align);
return ret;
},