| Index: src/runtime/runtime-regexp.cc
|
| diff --git a/src/runtime/runtime-regexp.cc b/src/runtime/runtime-regexp.cc
|
| index 57ff1b2f514ba465c24ecd0f27072a7ef4e4f265..932ebbb05941b0aee4ca11fec040eccb18ba8aa8 100644
|
| --- a/src/runtime/runtime-regexp.cc
|
| +++ b/src/runtime/runtime-regexp.cc
|
| @@ -866,7 +866,7 @@ RUNTIME_FUNCTION(Runtime_RegExpInitializeAndCompile) {
|
| Handle<Object> unicode = factory->ToBoolean(flags.is_unicode());
|
|
|
| Map* map = regexp->map();
|
| - Object* constructor = map->constructor();
|
| + Object* constructor = map->GetConstructor();
|
| if (!FLAG_harmony_regexps && !FLAG_harmony_unicode_regexps &&
|
| constructor->IsJSFunction() &&
|
| JSFunction::cast(constructor)->initial_map() == map) {
|
|
|