Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(995)

Unified Diff: src/string.js

Issue 1009373002: Remove BLACKLIST from check-name-clashes.py, it's wrong nowadays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime/runtime-regexp.cc ('k') | src/v8natives.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/string.js
diff --git a/src/string.js b/src/string.js
index 421f905fe3faa4a8f9931c59e030c48955b4f2e2..da3fbbc14d56bfe793d7fb8d884e4189f43560ce 100644
--- a/src/string.js
+++ b/src/string.js
@@ -46,7 +46,7 @@ function StringValueOf() {
// ECMA-262, section 15.5.4.4
-function StringCharAt(pos) {
+function StringCharAtJS(pos) {
CHECK_OBJECT_COERCIBLE(this, "String.prototype.charAt");
var result = %_StringCharAt(this, pos);
@@ -58,7 +58,7 @@ function StringCharAt(pos) {
// ECMA-262 section 15.5.4.5
-function StringCharCodeAt(pos) {
+function StringCharCodeAtJS(pos) {
CHECK_OBJECT_COERCIBLE(this, "String.prototype.charCodeAt");
var result = %_StringCharCodeAt(this, pos);
@@ -950,8 +950,8 @@ InstallFunctions(GlobalString, DONT_ENUM, GlobalArray(
InstallFunctions(GlobalString.prototype, DONT_ENUM, GlobalArray(
"valueOf", StringValueOf,
"toString", StringToString,
- "charAt", StringCharAt,
- "charCodeAt", StringCharCodeAt,
+ "charAt", StringCharAtJS,
+ "charCodeAt", StringCharCodeAtJS,
"concat", StringConcat,
"indexOf", StringIndexOfJS,
"lastIndexOf", StringLastIndexOfJS,
@@ -986,7 +986,7 @@ InstallFunctions(GlobalString.prototype, DONT_ENUM, GlobalArray(
"sup", StringSup
));
-$stringCharAt = StringCharAt;
+$stringCharAt = StringCharAtJS;
$stringIndexOf = StringIndexOfJS;
$stringSubstring = StringSubstring;
« no previous file with comments | « src/runtime/runtime-regexp.cc ('k') | src/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698