Fix for a Mac build issue after r20846.
authorishell@chromium.org <ishell@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 17 Apr 2014 13:45:13 +0000 (13:45 +0000)
committerishell@chromium.org <ishell@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 17 Apr 2014 13:45:13 +0000 (13:45 +0000)
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

src/jsregexp.cc

index 54046b2..5fa6cf4 100644 (file)
@@ -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 =