| Index: src/regexp/jsregexp.cc
|
| diff --git a/src/regexp/jsregexp.cc b/src/regexp/jsregexp.cc
|
| index ef4a61a520e7003cd14af5d13c86461855870a67..f0abc9a8b335437c4c607a8ef8fe16b48eb901a6 100644
|
| --- a/src/regexp/jsregexp.cc
|
| +++ b/src/regexp/jsregexp.cc
|
| @@ -6866,7 +6866,7 @@ void RegExpResultsCache::Enter(Isolate* isolate, Handle<String> key_string,
|
| }
|
| }
|
| // Convert backing store to a copy-on-write array.
|
| - value_array->set_map_no_write_barrier(*factory->fixed_cow_array_map());
|
| + value_array->set_map_no_write_barrier(isolate->heap()->fixed_cow_array_map());
|
| }
|
|
|
|
|
|
|