| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 66d7b2307d1084fe4b929707f6e56eea2ff44fab..b9fe2f20306b58bdef7b20b530601c17ca078215 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1340,6 +1340,12 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
|
| 1, true);
|
| SimpleInstallFunction(prototype, "charCodeAt",
|
| Builtins::kStringPrototypeCharCodeAt, 1, true);
|
| + SimpleInstallFunction(prototype, "trim", Builtins::kStringPrototypeTrim, 0,
|
| + false);
|
| + SimpleInstallFunction(prototype, "trimLeft",
|
| + Builtins::kStringPrototypeTrimLeft, 0, false);
|
| + SimpleInstallFunction(prototype, "trimRight",
|
| + Builtins::kStringPrototypeTrimRight, 0, false);
|
| }
|
|
|
| {
|
|
|