diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2014-03-16 03:53:58 +0200 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2014-03-28 23:06:17 -0400 |
commit | f546d9a039d8b1ead4f6b5843e97faf8b4944a70 (patch) | |
tree | aff1cc6e5908752d605f10bcb83af5929d4fcb96 /src | |
parent | d468544eec5b4900228a19b5af1fa0d051e736ac (diff) |
Migrate to using musl 0.9.13 memchr for better asm.js performance.
Diffstat (limited to 'src')
-rw-r--r-- | src/library.js | 9 |
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++) { |