< prev index next >

src/hotspot/share/opto/castnode.hpp

Print this page
@@ -192,10 +192,11 @@
    CheckCastPPNode(Node* ctrl, Node* n, const Type* t, DependencyType dependency = RegularDependency, const TypeTuple* types = nullptr)
      : ConstraintCastNode(ctrl, n, t, dependency, types) {
      init_class_id(Class_CheckCastPP);
    }
  
+   virtual Node* Identity(PhaseGVN* phase);
    virtual const Type* Value(PhaseGVN* phase) const;
    virtual int   Opcode() const;
    virtual uint  ideal_reg() const { return Op_RegP; }
    bool depends_only_on_test() const { return !type()->isa_rawptr() && ConstraintCastNode::depends_only_on_test(); }
   };

@@ -228,8 +229,6 @@
    virtual const Type *bottom_type() const { return TypeX_X; }
    // Return false to keep node from moving away from an associated card mark.
    virtual bool depends_only_on_test() const { return false; }
  };
  
- 
- 
  #endif // SHARE_OPTO_CASTNODE_HPP
< prev index next >