summaryrefslogtreecommitdiffstats
path: root/js/src/vm/SelfHosting.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-04 21:47:32 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-04 21:47:32 +0200
commit74c62cd3373e23fe77f509373f581c33872d813d (patch)
treef3b15accca8029bf07b0d20ba63d972cb4f9f739 /js/src/vm/SelfHosting.cpp
parentc18d9955df45be20537cc221dabebdae7d4fe744 (diff)
downloadUXP-74c62cd3373e23fe77f509373f581c33872d813d.tar
UXP-74c62cd3373e23fe77f509373f581c33872d813d.tar.gz
UXP-74c62cd3373e23fe77f509373f581c33872d813d.tar.lz
UXP-74c62cd3373e23fe77f509373f581c33872d813d.tar.xz
UXP-74c62cd3373e23fe77f509373f581c33872d813d.zip
Issue #325 Part 14: Remove EXPOSE_INTL_API conditionals.
Diffstat (limited to 'js/src/vm/SelfHosting.cpp')
-rw-r--r--js/src/vm/SelfHosting.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/js/src/vm/SelfHosting.cpp b/js/src/vm/SelfHosting.cpp
index 9a8ec7679..653807ce8 100644
--- a/js/src/vm/SelfHosting.cpp
+++ b/js/src/vm/SelfHosting.cpp
@@ -2205,11 +2205,7 @@ static const JSFunctionSpec intrinsic_functions[] = {
JS_FN("std_String_trimRight", str_trimRight, 0,0),
JS_FN("std_String_toLocaleLowerCase", str_toLocaleLowerCase, 0,0),
JS_FN("std_String_toLocaleUpperCase", str_toLocaleUpperCase, 0,0),
-#if !EXPOSE_INTL_API
- JS_FN("std_String_localeCompare", str_localeCompare, 1,0),
-#else
JS_FN("std_String_normalize", str_normalize, 0,0),
-#endif
JS_FN("std_String_concat", str_concat, 1,0),
JS_FN("std_TypedArray_buffer", js::TypedArray_bufferGetter, 1,0),