< prev index next >

src/hotspot/share/opto/castnode.hpp

Print this page
@@ -197,10 +197,11 @@
      : ConstraintCastNode(n, t, dependency, types) {
      init_class_id(Class_CheckCastPP);
      init_req(0, c);
    }
  
+   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(); }
   };

@@ -233,8 +234,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 >