aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2014-03-15 18:49:12 +0200
committerJukka Jylänki <jujjyl@gmail.com>2014-03-28 23:06:16 -0400
commit3a501858147d9d31573f24d1b352fbeb52d7c3f2 (patch)
treed2bf0bfceab21c829aa1bc188964e5e0666aaeec /src
parent58f9620df20ab6a9bf35c7c91075ecd81597b411 (diff)
Migrate to using musl 0.9.13 libc atoi, atol and atoll for better asm.js performance.
Diffstat (limited to 'src')
-rw-r--r--src/library.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/library.js b/src/library.js
index 2ff395c4..ebfac476 100644
--- a/src/library.js
+++ b/src/library.js
@@ -3238,17 +3238,6 @@ LibraryManager.library = {
return _strtoull(str, endptr, base); // no locale support yet
},
- atoi__deps: ['strtol'],
- atoi: function(ptr) {
- return _strtol(ptr, null, 10);
- },
- atol: 'atoi',
-
- atoll__deps: ['strtoll'],
- atoll: function(ptr) {
- return _strtoll(ptr, null, 10);
- },
-
qsort__deps: ['malloc', 'memcpy', 'free'],
qsort: function(base, num, size, cmp) {
if (num == 0 || size == 0) return;