Unreviewed, fix build.
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Jan 2016 03:36:44 +0000 (03:36 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Jan 2016 03:36:44 +0000 (03:36 +0000)
* b3/B3EliminateCommonSubexpressions.cpp:

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/b3/B3EliminateCommonSubexpressions.cpp

index 6589c8e..602389f 100644 (file)
@@ -1,5 +1,11 @@
 2016-01-21  Filip Pizlo  <fpizlo@apple.com>
 
+        Unreviewed, fix build.
+
+        * b3/B3EliminateCommonSubexpressions.cpp:
+
+2016-01-21  Filip Pizlo  <fpizlo@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
 
index eea45ae..f94fc85 100644 (file)
@@ -216,8 +216,8 @@ private:
                         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 @@ private:
                         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;
                 });