Title: [174859] trunk/Source/WebCore
Revision
174859
Author
[email protected]
Date
2014-10-18 03:16:33 -0700 (Sat, 18 Oct 2014)

Log Message

[EFL] build break occurs on webkit efl build.
https://bugs.webkit.org/show_bug.cgi?id=137844

Patch by KwangHyuk Kim <[email protected]> on 2014-10-18
Reviewed by Gyuyoung Kim.

As local variable elementAddressRegisterIndex is assigned but not used, there is build break for the webkit efl.

No new tests because it's just to fix build break.

* cssjit/SelectorCompiler.cpp:
(WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementMatchesSelectorList):

Modified Paths

Property Changed

Diff

Modified: trunk/Source/WebCore/ChangeLog (174858 => 174859)


--- trunk/Source/WebCore/ChangeLog	2014-10-18 03:37:20 UTC (rev 174858)
+++ trunk/Source/WebCore/ChangeLog	2014-10-18 10:16:33 UTC (rev 174859)
@@ -1,3 +1,17 @@
+2014-10-18  KwangHyuk Kim  <[email protected]>
+
+        [EFL] build break occurs on webkit efl build.
+        https://bugs.webkit.org/show_bug.cgi?id=137844
+
+        Reviewed by Gyuyoung Kim.
+
+        As local variable elementAddressRegisterIndex is assigned but not used, there is build break for the webkit efl.
+
+        No new tests because it's just to fix build break.
+
+        * cssjit/SelectorCompiler.cpp:
+        (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementMatchesSelectorList):
+
 2014-10-17  Gyuyoung Kim  <[email protected]>
 
         Apply std::unique_ptr to FooFont classes

Modified: trunk/Source/WebCore/cssjit/SelectorCompiler.cpp (174858 => 174859)


--- trunk/Source/WebCore/cssjit/SelectorCompiler.cpp	2014-10-18 03:37:20 UTC (rev 174858)
+++ trunk/Source/WebCore/cssjit/SelectorCompiler.cpp	2014-10-18 10:16:33 UTC (rev 174859)
@@ -1698,7 +1698,7 @@
     // because they are used by the matcher itself.
     // To simplify things for now, we just always preserve them on the stack.
     unsigned elementAddressRegisterIndex = std::numeric_limits<unsigned>::max();
-    unsigned elementToTestIndex = std::numeric_limits<unsigned>::max();
+    unsigned elementToTestIndex = elementAddressRegisterIndex;
     bool isElementToMatchOnStack = false;
     if (selectorList.clobberElementAddressRegister) {
         if (elementToMatch != elementAddressRegister) {
Property changes on: trunk/Source/WebCore/cssjit/SelectorCompiler.cpp
___________________________________________________________________

Added: svn:executable

_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to