aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2014-03-16 03:53:58 +0200
committerJukka Jylänki <jujjyl@gmail.com>2014-03-28 23:06:17 -0400
commitf546d9a039d8b1ead4f6b5843e97faf8b4944a70 (patch)
treeaff1cc6e5908752d605f10bcb83af5929d4fcb96 /src/library.js
parentd468544eec5b4900228a19b5af1fa0d051e736ac (diff)
Migrate to using musl 0.9.13 memchr for better asm.js performance.
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/library.js b/src/library.js
index 9114a539..0726f1a8 100644
--- a/src/library.js
+++ b/src/library.js
@@ -3639,15 +3639,6 @@ LibraryManager.library = {
return pdest|0;
},
- memchr: function(ptr, chr, num) {
- chr = unSign(chr);
- for (var i = 0; i < num; i++) {
- if ({{{ makeGetValue('ptr', 0, 'i8') }}} == chr) return ptr;
- ptr++;
- }
- return 0;
- },
-
strnlen: function(ptr, num) {
num = num >>> 0;
for (var i = 0; i < num; i++) {