< prev index next >

src/share/vm/opto/node.hpp

Print this page

        

*** 891,904 **** virtual const class TypePtr *adr_type() const { return NULL; } // Return an existing node which computes the same function as this node. // The optimistic combined algorithm requires this to return a Node which // is a small number of steps away (e.g., one of my inputs). ! virtual Node *Identity( PhaseTransform *phase ); // Return the set of values this Node can take on at runtime. ! virtual const Type *Value( PhaseTransform *phase ) const; // Return a node which is more "ideal" than the current node. // The invariants on this call are subtle. If in doubt, read the // treatise in node.cpp above the default implemention AND TEST WITH // +VerifyIterativeGVN! --- 891,904 ---- virtual const class TypePtr *adr_type() const { return NULL; } // Return an existing node which computes the same function as this node. // The optimistic combined algorithm requires this to return a Node which // is a small number of steps away (e.g., one of my inputs). ! virtual Node* Identity(PhaseGVN* phase); // Return the set of values this Node can take on at runtime. ! virtual const Type* Value(PhaseGVN* phase) const; // Return a node which is more "ideal" than the current node. // The invariants on this call are subtle. If in doubt, read the // treatise in node.cpp above the default implemention AND TEST WITH // +VerifyIterativeGVN!
*** 1661,1671 **** } const Type* type() const { assert(_type != NULL, "sanity"); return _type; }; TypeNode( const Type *t, uint required ) : Node(required), _type(t) { init_class_id(Class_Type); } ! virtual const Type *Value( PhaseTransform *phase ) const; virtual const Type *bottom_type() const; virtual uint ideal_reg() const; #ifndef PRODUCT virtual void dump_spec(outputStream *st) const; virtual void dump_compact_spec(outputStream *st) const; --- 1661,1671 ---- } const Type* type() const { assert(_type != NULL, "sanity"); return _type; }; TypeNode( const Type *t, uint required ) : Node(required), _type(t) { init_class_id(Class_Type); } ! virtual const Type* Value(PhaseGVN* phase) const; virtual const Type *bottom_type() const; virtual uint ideal_reg() const; #ifndef PRODUCT virtual void dump_spec(outputStream *st) const; virtual void dump_compact_spec(outputStream *st) const;
< prev index next >