diff --git a/src/jsregexp.cc b/src/jsregexp.cc index bc47df8f23..af644376b5 100644 --- a/src/jsregexp.cc +++ b/src/jsregexp.cc @@ -267,7 +267,7 @@ Handle RegExpImpl::AtomExec(Handle re, seq_sub->ToUC16Vector(), needle->ToUC16Vector(), index))); - if (index == -1) return FACTORY->null_value(); + if (index == -1) return isolate->factory()->null_value(); } ASSERT(last_match_info->HasFastElements());