Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index db0b3b3c02758d13431f821341388d33dd9bd5da..3b44c64d27f412930cff789d014d8599e76dba1c 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1395,6 +1395,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
1, true); |
SimpleInstallFunction(prototype, "charCodeAt", |
Builtins::kStringPrototypeCharCodeAt, 1, true); |
+ SimpleInstallFunction(prototype, "localeCompare", |
+ Builtins::kStringPrototypeLocaleCompare, 1, true); |
SimpleInstallFunction(prototype, "normalize", |
Builtins::kStringPrototypeNormalize, 0, false); |
SimpleInstallFunction(prototype, "toString", |