]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - yarr/RegexCompiler.cpp
JavaScriptCore-576.tar.gz
[apple/javascriptcore.git] / yarr / RegexCompiler.cpp
index c7b3c8119f335eeafabc74644d936172b07bec72..9cd3d123c1cf8b6294a4bd0859aa388a149eaff3 100644 (file)
@@ -708,7 +708,7 @@ const char* compileRegex(const UString& patternString, RegexPattern& pattern)
         unsigned numSubpatterns = pattern.m_numSubpatterns;
 
         constructor.reset();
-#ifndef NDEBUG
+#if !ASSERT_DISABLED
         const char* error =
 #endif
             parse(constructor, patternString, numSubpatterns);