Changeset 179814 in webkit


Ignore:
Timestamp:
Feb 8, 2015 6:37:03 PM (9 years ago)
Author:
benjamin@webkit.org
Message:

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

Patch by Benjamin Poulain <bpoulain@apple.com> on 2015-02-08
Reviewed by Michael Saboff.

  • dfg/DFGNode.h:

(JSC::DFG::Node::hasArithNodeFlags): Deleted.
Unused code is unused.

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r179791 r179814  
     12015-02-08  Benjamin Poulain  <bpoulain@apple.com>
     2
     3        Remove DFGNode::hasArithNodeFlags()
     4        https://bugs.webkit.org/show_bug.cgi?id=141319
     5
     6        Reviewed by Michael Saboff.
     7
     8        * dfg/DFGNode.h:
     9        (JSC::DFG::Node::hasArithNodeFlags): Deleted.
     10        Unused code is unused.
     11
    1122015-02-07  Chris Dumez  <cdumez@apple.com>
    213
  • trunk/Source/JavaScriptCore/dfg/DFGNode.h

    r179536 r179814  
    773773    }
    774774   
    775     bool hasArithNodeFlags()
    776     {
    777         switch (op()) {
    778         case UInt32ToNumber:
    779         case ArithAdd:
    780         case ArithSub:
    781         case ArithNegate:
    782         case ArithMul:
    783         case ArithAbs:
    784         case ArithMin:
    785         case ArithMax:
    786         case ArithMod:
    787         case ArithDiv:
    788         case ValueAdd:
    789             return true;
    790         default:
    791             return false;
    792         }
    793     }
    794    
    795775    // This corrects the arithmetic node flags, so that irrelevant bits are
    796776    // ignored. In particular, anything other than ArithMul does not need
Note: See TracChangeset for help on using the changeset viewer.