Commit 3ae6f64b authored by vitalyr@chromium.org's avatar vitalyr@chromium.org

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
parent d6495098
...@@ -267,7 +267,7 @@ Handle<Object> RegExpImpl::AtomExec(Handle<JSRegExp> re, ...@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment