Remove TLS load in regexp code.
Spotted while reviewing Yang's patch. R=yangguo@chromium.org Review URL: http://codereview.chromium.org/7585005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8846 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
d64950982f
commit
3ae6f64b0d
@ -267,7 +267,7 @@ Handle<Object> RegExpImpl::AtomExec(Handle<JSRegExp> re,
|
|||||||
seq_sub->ToUC16Vector(),
|
seq_sub->ToUC16Vector(),
|
||||||
needle->ToUC16Vector(),
|
needle->ToUC16Vector(),
|
||||||
index)));
|
index)));
|
||||||
if (index == -1) return FACTORY->null_value();
|
if (index == -1) return isolate->factory()->null_value();
|
||||||
}
|
}
|
||||||
ASSERT(last_match_info->HasFastElements());
|
ASSERT(last_match_info->HasFastElements());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user