Unreviewed, fix cloop some more.
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Apr 2016 22:57:26 +0000 (22:57 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Apr 2016 22:57:26 +0000 (22:57 +0000)
* 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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/RegExpInlines.h

index 294d29b..0fee84b 100644 (file)
@@ -1,5 +1,13 @@
 2016-04-05  Filip Pizlo  <fpizlo@apple.com>
 
+        Unreviewed, fix cloop some more.
+
+        * runtime/RegExpInlines.h:
+        (JSC::RegExp::hasCodeFor):
+        (JSC::RegExp::hasMatchOnlyCodeFor):
+
+2016-04-05  Filip Pizlo  <fpizlo@apple.com>
+
         Unreviewed, fix cloop.
 
         * jit/CCallHelpers.cpp:
index e80b9a9..295d931 100644 (file)
@@ -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
     }