| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index de4441f24c18a71ec4af1c974b22656a7f88010e..e9673076ede0982589a59b98e5602a094c311740 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1636,6 +1636,12 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
|
| Builtins::kRegExpPrototypeStickyGetter, false);
|
| SimpleInstallGetter(proto, factory->unicode_string(),
|
| Builtins::kRegExpPrototypeUnicodeGetter, false);
|
| +
|
| + SimpleInstallFunction(proto, "compile", Builtins::kRegExpPrototypeCompile,
|
| + 2, false, DONT_ENUM);
|
| + SimpleInstallFunction(proto, factory->toString_string(),
|
| + Builtins::kRegExpPrototypeToString, 0, false,
|
| + DONT_ENUM);
|
| }
|
|
|
| {
|
|
|