aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-18 18:23:09 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-18 18:23:09 -0800
commit67c5344e6e14ebb165fc668549da8d5e9fc80c76 (patch)
treeba93b36f2515a170fd4fe39d006113721d907908
parent738cf65cc64e19ac54dc92b1073390c7d0682a83 (diff)
remove locale call handlers, we do this in the js library now
-rw-r--r--lib/Target/JSBackend/CallHandlers.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/lib/Target/JSBackend/CallHandlers.h b/lib/Target/JSBackend/CallHandlers.h
index 22d7d1be20..c70a37bc47 100644
--- a/lib/Target/JSBackend/CallHandlers.h
+++ b/lib/Target/JSBackend/CallHandlers.h
@@ -503,10 +503,6 @@ DEF_REDIRECT_HANDLER(__01mmap64_, mmap);
DEF_BUILTIN_HANDLER(abs, Math_abs);
DEF_BUILTIN_HANDLER(labs, Math_abs);
DEF_REDIRECT_HANDLER(__cxa_atexit, atexit);
-DEF_REDIRECT_HANDLER(strtoll_l, strtoll);
-DEF_REDIRECT_HANDLER(strtol_l, strtol);
-DEF_REDIRECT_HANDLER(strtoul_l, strtoul);
-DEF_REDIRECT_HANDLER(strtoull_l, strtoull);
DEF_REDIRECT_HANDLER(atol, atoi);
DEF_REDIRECT_HANDLER(__environ, _environ);
DEF_REDIRECT_HANDLER(arc4random, rand);
@@ -519,25 +515,10 @@ DEF_REDIRECT_HANDLER(llvm_memmove_p0i8_p0i8_i64, memmove);
DEF_REDIRECT_HANDLER(llvm_memset_i32, memset);
DEF_REDIRECT_HANDLER(llvm_memset_p0i8_i64, memset);
DEF_REDIRECT_HANDLER(strcoll, strcmp);
-DEF_REDIRECT_HANDLER(strcoll_l, strcmp);
DEF_REDIRECT_HANDLER(index, strchr);
DEF_REDIRECT_HANDLER(rindex, strrchr);
DEF_REDIRECT_HANDLER(_toupper, toupper);
-DEF_REDIRECT_HANDLER(toupper_l, toupper);
DEF_REDIRECT_HANDLER(_tolower, tolower);
-DEF_REDIRECT_HANDLER(tolower_l, tolower);
-DEF_REDIRECT_HANDLER(islower_l, islower);
-DEF_REDIRECT_HANDLER(isupper_l, isupper);
-DEF_REDIRECT_HANDLER(isalpha_l, isalpha);
-DEF_REDIRECT_HANDLER(isdigit_l, isdigit);
-DEF_REDIRECT_HANDLER(isxdigit_l, isxdigit);
-DEF_REDIRECT_HANDLER(isalnum_l, isalnum);
-DEF_REDIRECT_HANDLER(ispunct_l, ispunct);
-DEF_REDIRECT_HANDLER(isspace_l, isspace);
-DEF_REDIRECT_HANDLER(isblank_l, isblank);
-DEF_REDIRECT_HANDLER(iscntrl_l, iscntrl);
-DEF_REDIRECT_HANDLER(isprint_l, isprint);
-DEF_REDIRECT_HANDLER(isgraph_l, isgraph);
DEF_REDIRECT_HANDLER(terminate, __cxa_call_unexpected);
DEF_BUILTIN_HANDLER(cos, Math_cos);
DEF_BUILTIN_HANDLER(cosf, Math_cos);
@@ -665,8 +646,6 @@ DEF_REDIRECT_HANDLER(__fpclassifyd, __fpclassify);
DEF_REDIRECT_HANDLER(__fpclassifyf, __fpclassify);
DEF_REDIRECT_HANDLER(__fpclassifyl, __fpclassify);
DEF_REDIRECT_HANDLER(timelocal, mktime);
-DEF_REDIRECT_HANDLER(strftime_l, strftime);
-DEF_REDIRECT_HANDLER(strptime_l, strptime);
DEF_REDIRECT_HANDLER(gnu_dev_makedev, makedev);
DEF_REDIRECT_HANDLER(gnu_dev_major, major);
DEF_REDIRECT_HANDLER(gnu_dev_minor, minor);
@@ -824,10 +803,6 @@ void setupCallHandlers() {
SETUP_CALL_HANDLER(abs);
SETUP_CALL_HANDLER(labs);
SETUP_CALL_HANDLER(__cxa_atexit);
- SETUP_CALL_HANDLER(strtoll_l);
- SETUP_CALL_HANDLER(strtol_l);
- SETUP_CALL_HANDLER(strtoul_l);
- SETUP_CALL_HANDLER(strtoull_l);
SETUP_CALL_HANDLER(atol);
SETUP_CALL_HANDLER(__environ);
SETUP_CALL_HANDLER(arc4random);
@@ -840,25 +815,10 @@ void setupCallHandlers() {
SETUP_CALL_HANDLER(llvm_memset_i32);
SETUP_CALL_HANDLER(llvm_memset_p0i8_i64);
SETUP_CALL_HANDLER(strcoll);
- SETUP_CALL_HANDLER(strcoll_l);
SETUP_CALL_HANDLER(index);
SETUP_CALL_HANDLER(rindex);
SETUP_CALL_HANDLER(_toupper);
- SETUP_CALL_HANDLER(toupper_l);
SETUP_CALL_HANDLER(_tolower);
- SETUP_CALL_HANDLER(tolower_l);
- SETUP_CALL_HANDLER(islower_l);
- SETUP_CALL_HANDLER(isupper_l);
- SETUP_CALL_HANDLER(isalpha_l);
- SETUP_CALL_HANDLER(isdigit_l);
- SETUP_CALL_HANDLER(isxdigit_l);
- SETUP_CALL_HANDLER(isalnum_l);
- SETUP_CALL_HANDLER(ispunct_l);
- SETUP_CALL_HANDLER(isspace_l);
- SETUP_CALL_HANDLER(isblank_l);
- SETUP_CALL_HANDLER(iscntrl_l);
- SETUP_CALL_HANDLER(isprint_l);
- SETUP_CALL_HANDLER(isgraph_l);
SETUP_CALL_HANDLER(terminate);
SETUP_CALL_HANDLER(cos);
SETUP_CALL_HANDLER(cosf);
@@ -986,8 +946,6 @@ void setupCallHandlers() {
SETUP_CALL_HANDLER(__fpclassifyf);
SETUP_CALL_HANDLER(__fpclassifyl);
SETUP_CALL_HANDLER(timelocal);
- SETUP_CALL_HANDLER(strftime_l);
- SETUP_CALL_HANDLER(strptime_l);
SETUP_CALL_HANDLER(gnu_dev_makedev);
SETUP_CALL_HANDLER(gnu_dev_major);
SETUP_CALL_HANDLER(gnu_dev_minor);