| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 2529224e6a79d0603f7b27c9a3fa2f45f3ad5717..29933b24b1d5b6aedf71dbbb2c5d930abb9be0ed 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1430,6 +1430,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
|
| 1, true);
|
| SimpleInstallFunction(prototype, "charCodeAt",
|
| Builtins::kStringPrototypeCharCodeAt, 1, true);
|
| + SimpleInstallFunction(prototype, "indexOf",
|
| + Builtins::kStringPrototypeIndexOf, 1, false);
|
| SimpleInstallFunction(prototype, "lastIndexOf",
|
| Builtins::kStringPrototypeLastIndexOf, 1, false);
|
| SimpleInstallFunction(prototype, "localeCompare",
|
|
|