From: fpizlo@apple.com Date: Tue, 5 Apr 2016 22:57:26 +0000 (+0000) Subject: Unreviewed, fix cloop some more. X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=e1dfbc318f0432e86bdf35bd410ac0efd7f35863 Unreviewed, fix cloop some more. * runtime/RegExpInlines.h: (JSC::RegExp::hasCodeFor): (JSC::RegExp::hasMatchOnlyCodeFor): git-svn-id: https://svn.webkit.org/repository/webkit/trunk@199080 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog index 294d29b..0fee84b 100644 --- a/Source/JavaScriptCore/ChangeLog +++ b/Source/JavaScriptCore/ChangeLog @@ -1,5 +1,13 @@ 2016-04-05 Filip Pizlo + Unreviewed, fix cloop some more. + + * runtime/RegExpInlines.h: + (JSC::RegExp::hasCodeFor): + (JSC::RegExp::hasMatchOnlyCodeFor): + +2016-04-05 Filip Pizlo + Unreviewed, fix cloop. * jit/CCallHelpers.cpp: diff --git a/Source/JavaScriptCore/runtime/RegExpInlines.h b/Source/JavaScriptCore/runtime/RegExpInlines.h index e80b9a9..295d931 100644 --- a/Source/JavaScriptCore/runtime/RegExpInlines.h +++ b/Source/JavaScriptCore/runtime/RegExpInlines.h @@ -79,6 +79,7 @@ ALWAYS_INLINE bool RegExp::hasCodeFor(Yarr::YarrCharSize charSize) if ((charSize == Yarr::Char16) && (m_regExpJITCode.has16BitCode())) return true; #else + UNUSED_PARAM(charSize); return true; #endif } @@ -171,6 +172,7 @@ ALWAYS_INLINE bool RegExp::hasMatchOnlyCodeFor(Yarr::YarrCharSize charSize) if ((charSize == Yarr::Char16) && (m_regExpJITCode.has16BitCodeMatchOnly())) return true; #else + UNUSED_PARAM(charSize); return true; #endif }