Title: [179814] trunk/Source/_javascript_Core
Revision
179814
Author
[email protected]
Date
2015-02-08 18:37:03 -0800 (Sun, 08 Feb 2015)

Log Message

Remove DFGNode::hasArithNodeFlags()
https://bugs.webkit.org/show_bug.cgi?id=141319

Patch by Benjamin Poulain <[email protected]> on 2015-02-08
Reviewed by Michael Saboff.

* dfg/DFGNode.h:
(JSC::DFG::Node::hasArithNodeFlags): Deleted.
Unused code is unused.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (179813 => 179814)


--- trunk/Source/_javascript_Core/ChangeLog	2015-02-09 01:50:50 UTC (rev 179813)
+++ trunk/Source/_javascript_Core/ChangeLog	2015-02-09 02:37:03 UTC (rev 179814)
@@ -1,3 +1,14 @@
+2015-02-08  Benjamin Poulain  <[email protected]>
+
+        Remove DFGNode::hasArithNodeFlags()
+        https://bugs.webkit.org/show_bug.cgi?id=141319
+
+        Reviewed by Michael Saboff.
+
+        * dfg/DFGNode.h:
+        (JSC::DFG::Node::hasArithNodeFlags): Deleted.
+        Unused code is unused.
+
 2015-02-07  Chris Dumez  <[email protected]>
 
         Add Vector::removeFirstMatching() / removeAllMatching() methods taking lambda functions

Modified: trunk/Source/_javascript_Core/dfg/DFGNode.h (179813 => 179814)


--- trunk/Source/_javascript_Core/dfg/DFGNode.h	2015-02-09 01:50:50 UTC (rev 179813)
+++ trunk/Source/_javascript_Core/dfg/DFGNode.h	2015-02-09 02:37:03 UTC (rev 179814)
@@ -772,26 +772,6 @@
         return m_opInfo;
     }
     
-    bool hasArithNodeFlags()
-    {
-        switch (op()) {
-        case UInt32ToNumber:
-        case ArithAdd:
-        case ArithSub:
-        case ArithNegate:
-        case ArithMul:
-        case ArithAbs:
-        case ArithMin:
-        case ArithMax:
-        case ArithMod:
-        case ArithDiv:
-        case ValueAdd:
-            return true;
-        default:
-            return false;
-        }
-    }
-    
     // This corrects the arithmetic node flags, so that irrelevant bits are
     // ignored. In particular, anything other than ArithMul does not need
     // to know if it can speculate on negative zero.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to