comparison src/share/vm/opto/mulnode.hpp @ 3842:c7b60b601eb4

7069452: Cleanup NodeFlags Summary: Remove flags which duplicate information in Node::NodeClasses. Reviewed-by: never
author kvn
date Wed, 27 Jul 2011 17:28:36 -0700
parents f95d63e2154a
children 8c92982cbbc4
comparison
equal deleted inserted replaced
3841:0f34fdee809e 3842:c7b60b601eb4
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