@@ -439,18 +439,11 @@ class CmpLTMaskNode : public Node {
439439 virtual uint ideal_reg () const { return Op_RegI; }
440440};
441441
442- // ------------------------------InvolutionNode----------------------------------
443- // Represents a self-inverse operation, i.e., op(op(x)) = x for any x
444- class InvolutionNode : public Node {
445- public:
446- InvolutionNode (Node* in) : Node(nullptr , in) {}
447- virtual Node* Identity (PhaseGVN* phase);
448- };
449442
450443// ------------------------------NegNode----------------------------------------
451- class NegNode : public InvolutionNode {
444+ class NegNode : public Node {
452445public:
453- NegNode (Node* in1) : InvolutionNode( in1) {
446+ NegNode (Node* in1) : Node( nullptr , in1) {
454447 init_class_id (Class_Neg);
455448 }
456449};
@@ -562,18 +555,16 @@ class SqrtHFNode : public Node {
562555};
563556
564557
565- class ReverseBytesNode : public InvolutionNode {
558+ class ReverseBytesNode : public Node {
566559public:
567- ReverseBytesNode (Node* in) : InvolutionNode( in) {}
560+ ReverseBytesNode (Node* in) : Node( nullptr , in) {}
568561 virtual const Type* Value (PhaseGVN* phase) const ;
569562};
570563// -------------------------------ReverseBytesINode--------------------------------
571564// reverse bytes of an integer
572565class ReverseBytesINode : public ReverseBytesNode {
573566public:
574- ReverseBytesINode (Node* in) : ReverseBytesNode(in) {
575- }
576-
567+ ReverseBytesINode (Node* in) : ReverseBytesNode(in) {}
577568 virtual int Opcode () const ;
578569 const Type* bottom_type () const { return TypeInt::INT; }
579570 virtual uint ideal_reg () const { return Op_RegI; }
@@ -611,23 +602,25 @@ class ReverseBytesSNode : public ReverseBytesNode {
611602
612603// -------------------------------ReverseINode--------------------------------
613604// reverse bits of an int
614- class ReverseINode : public InvolutionNode {
605+ class ReverseINode : public Node {
615606public:
616- ReverseINode (Node* in) : InvolutionNode( in) {}
607+ ReverseINode (Node* in) : Node( nullptr , in) {}
617608 virtual int Opcode () const ;
618609 const Type* bottom_type () const { return TypeInt::INT; }
619610 virtual uint ideal_reg () const { return Op_RegI; }
611+ virtual Node* Identity (PhaseGVN* phase);
620612 virtual const Type* Value (PhaseGVN* phase) const ;
621613};
622614
623615// -------------------------------ReverseLNode--------------------------------
624616// reverse bits of a long
625- class ReverseLNode : public InvolutionNode {
617+ class ReverseLNode : public Node {
626618public:
627- ReverseLNode (Node* in) : InvolutionNode( in) {}
619+ ReverseLNode (Node* in) : Node( nullptr , in) {}
628620 virtual int Opcode () const ;
629621 const Type* bottom_type () const { return TypeLong::LONG; }
630622 virtual uint ideal_reg () const { return Op_RegL; }
623+ virtual Node* Identity (PhaseGVN* phase);
631624 virtual const Type* Value (PhaseGVN* phase) const ;
632625};
633626
0 commit comments