Commit 9ef20a1e authored by ishell@chromium.org's avatar ishell@chromium.org

Fix for a Mac build issue after r20846.

R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/241013002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20848 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent fd0df23b
......@@ -452,10 +452,10 @@ bool RegExpImpl::CompileIrregexp(Handle<JSRegExp> re,
&zone)) {
// Throw an exception if we fail to parse the pattern.
// THIS SHOULD NOT HAPPEN. We already pre-parsed it successfully once.
ThrowRegExpException(re,
pattern,
compile_data.error,
"malformed_regexp");
USE(ThrowRegExpException(re,
pattern,
compile_data.error,
"malformed_regexp"));
return false;
}
RegExpEngine::CompilationResult result =
......
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