Title: [195435] trunk/Source/_javascript_Core
Revision
195435
Author
fpi...@apple.com
Date
2016-01-21 19:36:44 -0800 (Thu, 21 Jan 2016)

Log Message

Unreviewed, fix build.

* b3/B3EliminateCommonSubexpressions.cpp:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (195434 => 195435)


--- trunk/Source/_javascript_Core/ChangeLog	2016-01-22 03:31:32 UTC (rev 195434)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-01-22 03:36:44 UTC (rev 195435)
@@ -1,5 +1,11 @@
 2016-01-21  Filip Pizlo  <fpi...@apple.com>
 
+        Unreviewed, fix build.
+
+        * b3/B3EliminateCommonSubexpressions.cpp:
+
+2016-01-21  Filip Pizlo  <fpi...@apple.com>
+
         B3 CSE should be able to match a full redundancy even if none of the matches dominate the value in question
         https://bugs.webkit.org/show_bug.cgi?id=153321
 

Modified: trunk/Source/_javascript_Core/b3/B3EliminateCommonSubexpressions.cpp (195434 => 195435)


--- trunk/Source/_javascript_Core/b3/B3EliminateCommonSubexpressions.cpp	2016-01-22 03:31:32 UTC (rev 195434)
+++ trunk/Source/_javascript_Core/b3/B3EliminateCommonSubexpressions.cpp	2016-01-22 03:36:44 UTC (rev 195435)
@@ -216,8 +216,8 @@
                         fixups.append(mask);
                         Value* zext = m_proc.add<Value>(
                             BitAnd, m_value->origin(), match->child(0), mask);
-                        fixups.append(sext);
-                        return sext;
+                        fixups.append(zext);
+                        return zext;
                     }
                     return nullptr;
                 });
@@ -256,8 +256,8 @@
                         fixups.append(mask);
                         Value* zext = m_proc.add<Value>(
                             BitAnd, m_value->origin(), match->child(0), mask);
-                        fixups.append(sext);
-                        return sext;
+                        fixups.append(zext);
+                        return zext;
                     }
                     return nullptr;
                 });
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to