hotspot/src/share/vm/opto/mulnode.hpp
changeset 10255 bab46e6f7661
parent 7397 5b173b4ca846
child 13104 657b387034fb
equal deleted inserted replaced
10254:406448a00c51 10255:bab46e6f7661
    39 // multiply-double, and binary-and are all inherited from this class.  The
    39 // multiply-double, and binary-and are all inherited from this class.  The
    40 // various identity values are supplied by virtual functions.
    40 // various identity values are supplied by virtual functions.
    41 class MulNode : public Node {
    41 class MulNode : public Node {
    42   virtual uint hash() const;
    42   virtual uint hash() const;
    43 public:
    43 public:
    44   MulNode( Node *in1, Node *in2 ): Node(0,in1,in2) {
    44   MulNode( Node *in1, Node *in2 ): Node(0,in1,in2) {}
    45     init_class_id(Class_Mul);
       
    46   }
       
    47 
    45 
    48   // Handle algebraic identities here.  If we have an identity, return the Node
    46   // Handle algebraic identities here.  If we have an identity, return the Node
    49   // we are equivalent to.  We look for "add of zero" as an identity.
    47   // we are equivalent to.  We look for "add of zero" as an identity.
    50   virtual Node *Identity( PhaseTransform *phase );
    48   virtual Node *Identity( PhaseTransform *phase );
    51 
    49