< prev index next >

src/hotspot/share/opto/castnode.hpp

Print this page
*** 195,10 ***
--- 195,11 ---
      : ConstraintCastNode(ctrl, n, t, dependency, types) {
      assert(ctrl != nullptr, "control must be set");
      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(); }
   };

*** 231,8 ***
    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
--- 232,6 ---
< prev index next >