summaryrefslogtreecommitdiff
path: root/deps/v8/src/builtins/builtins-string.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/builtins/builtins-string.cc')
-rw-r--r--deps/v8/src/builtins/builtins-string.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/src/builtins/builtins-string.cc b/deps/v8/src/builtins/builtins-string.cc
index f064f0bf9e..a6b1d02fa9 100644
--- a/deps/v8/src/builtins/builtins-string.cc
+++ b/deps/v8/src/builtins/builtins-string.cc
@@ -217,7 +217,7 @@ BUILTIN(StringPrototypeLastIndexOf) {
//
// This function is implementation specific. For now, we do not
// do anything locale specific.
-// If internationalization is enabled, then i18n.js will override this function
+// If internationalization is enabled, then intl.js will override this function
// and provide the proper functionality, so this is just a fallback.
BUILTIN(StringPrototypeLocaleCompare) {
HandleScope handle_scope(isolate);
@@ -264,11 +264,11 @@ BUILTIN(StringPrototypeLocaleCompare) {
return Smi::FromInt(str1_length - str2_length);
}
-#ifndef V8_I18N_SUPPORT
+#ifndef V8_INTL_SUPPORT
// ES6 section 21.1.3.12 String.prototype.normalize ( [form] )
//
// Simply checks the argument is valid and returns the string itself.
-// If internationalization is enabled, then i18n.js will override this function
+// If internationalization is enabled, then intl.js will override this function
// and provide the proper functionality, so this is just a fallback.
BUILTIN(StringPrototypeNormalize) {
HandleScope handle_scope(isolate);
@@ -298,7 +298,7 @@ BUILTIN(StringPrototypeNormalize) {
return *string;
}
-#endif // !V8_I18N_SUPPORT
+#endif // !V8_INTL_SUPPORT
BUILTIN(StringPrototypeStartsWith) {
HandleScope handle_scope(isolate);