| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 483f358d28e2e6560ffa18abfa92ebda8fdd3069..e3932e5c008b883f7c4b5f9e9393cd05bcdc30fd 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1642,9 +1642,6 @@
|
| SimpleInstallFunction(proto, factory->toString_string(),
|
| Builtins::kRegExpPrototypeToString, 0, false,
|
| DONT_ENUM);
|
| - SimpleInstallFunction(proto, factory->exec_string(),
|
| - Builtins::kRegExpPrototypeExec, 1, false,
|
| - DONT_ENUM);
|
| }
|
|
|
| {
|
| @@ -1724,6 +1721,8 @@
|
| #undef INSTALL_CAPTURE_GETTER
|
| }
|
|
|
| + // TODO(jgruber): shared->set_force_inline on getters.
|
| +
|
| DCHECK(regexp_fun->has_initial_map());
|
| Handle<Map> initial_map(regexp_fun->initial_map());
|
|
|
| @@ -1734,7 +1733,7 @@
|
| // ECMA-262, section 15.10.7.5.
|
| PropertyAttributes writable =
|
| static_cast<PropertyAttributes>(DONT_ENUM | DONT_DELETE);
|
| - DataDescriptor field(factory->lastIndex_string(),
|
| + DataDescriptor field(factory->last_index_string(),
|
| JSRegExp::kLastIndexFieldIndex, writable,
|
| Representation::Tagged());
|
| initial_map->AppendDescriptor(&field);
|
|
|