| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 2852e8f4152d9665d9d2eda137f2e12e6b7dff40..16e77300a03ab6ba622b11a0d403dee8fa7bb42e 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1404,6 +1404,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
|
| Builtins::kStringPrototypeLocaleCompare, 1, true);
|
| SimpleInstallFunction(prototype, "normalize",
|
| Builtins::kStringPrototypeNormalize, 0, false);
|
| + SimpleInstallFunction(prototype, "substring",
|
| + Builtins::kStringPrototypeSubstring, 2, true);
|
| SimpleInstallFunction(prototype, "toString",
|
| Builtins::kStringPrototypeToString, 0, true);
|
| SimpleInstallFunction(prototype, "trim", Builtins::kStringPrototypeTrim, 0,
|
|
|