Temporarily fix the !ENABLE(CSS_SELECTOR_JIT) and assertions-enabled build
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Mar 2015 19:07:30 +0000 (19:07 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Mar 2015 19:07:30 +0000 (19:07 +0000)
* dom/SelectorQuery.cpp:
(WebCore::SelectorDataList::execute):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@181706 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/dom/SelectorQuery.cpp

index 3b8504d..95ad523 100644 (file)
@@ -1,3 +1,10 @@
+2015-03-18  Tim Horton  <timothy_horton@apple.com>
+
+        Temporarily fix the !ENABLE(CSS_SELECTOR_JIT) and assertions-enabled build
+
+        * dom/SelectorQuery.cpp:
+        (WebCore::SelectorDataList::execute):
+
 2015-03-18  Myles C. Maxfield  <mmaxfield@apple.com>
 
         Call CTFontSetRenderingParameters before rendering text
 2015-03-18  Myles C. Maxfield  <mmaxfield@apple.com>
 
         Call CTFontSetRenderingParameters before rendering text
index a272270..f22d904 100644 (file)
@@ -555,7 +555,9 @@ ALWAYS_INLINE void SelectorDataList::execute(ContainerNode& rootNode, typename S
 #else
     case CompiledSingleWithRootFilter:
     case CompiledSingle:
 #else
     case CompiledSingleWithRootFilter:
     case CompiledSingle:
-        ASSERT_NOT_REACHED();
+        // FIXME: ASSERT_NOT_REACHED and FALLTHROUGH combine to "error: fallthrough annotation in unreachable code"
+        // We should figure out what should really happen here and put the ASSERT back.
+        // ASSERT_NOT_REACHED();
         FALLTHROUGH;
 #endif // ENABLE(CSS_SELECTOR_JIT)
 
         FALLTHROUGH;
 #endif // ENABLE(CSS_SELECTOR_JIT)