comparison hotspot/src/share/vm/opto/intrinsicnode.hpp @ 35551:36ef3841fb34

8146629: Make phase->is_IterGVN() accessible from Node::Identity and Node::Value Summary: Change arguments of Node::Identity() and Node::Value() from PhaseTransform* to PhaseGVN*. Reviewed-by: kvn, roland
author thartmann
date Tue, 12 Jan 2016 12:55:09 +0100
parents 09241459a8b8
children
comparison
equal deleted inserted replaced
1:9d3c98946d91 2:64d08143ef19
75 virtual bool depends_only_on_test() const { return false; } 75 virtual bool depends_only_on_test() const { return false; }
76 virtual const TypePtr* adr_type() const { return TypeAryPtr::BYTES; } 76 virtual const TypePtr* adr_type() const { return TypeAryPtr::BYTES; }
77 virtual uint match_edge(uint idx) const; 77 virtual uint match_edge(uint idx) const;
78 virtual uint ideal_reg() const { return Op_RegI; } 78 virtual uint ideal_reg() const { return Op_RegI; }
79 virtual Node* Ideal(PhaseGVN* phase, bool can_reshape); 79 virtual Node* Ideal(PhaseGVN* phase, bool can_reshape);
80 virtual const Type* Value(PhaseTransform* phase) const; 80 virtual const Type* Value(PhaseGVN* phase) const;
81 ArgEncoding encoding() const { return _encoding; } 81 ArgEncoding encoding() const { return _encoding; }
82 }; 82 };
83 83
84 //------------------------------StrComp------------------------------------- 84 //------------------------------StrComp-------------------------------------
85 class StrCompNode: public StrIntrinsicNode { 85 class StrCompNode: public StrIntrinsicNode {
175 virtual const Type* bottom_type() const { return TypeInt::INT; } 175 virtual const Type* bottom_type() const { return TypeInt::INT; }
176 virtual const TypePtr* adr_type() const { return TypePtr::BOTTOM; } 176 virtual const TypePtr* adr_type() const { return TypePtr::BOTTOM; }
177 virtual uint match_edge(uint idx) const; 177 virtual uint match_edge(uint idx) const;
178 virtual uint ideal_reg() const { return Op_RegI; } 178 virtual uint ideal_reg() const { return Op_RegI; }
179 virtual Node* Ideal(PhaseGVN* phase, bool can_reshape); 179 virtual Node* Ideal(PhaseGVN* phase, bool can_reshape);
180 virtual const Type* Value(PhaseTransform* phase) const; 180 virtual const Type* Value(PhaseGVN* phase) const;
181 }; 181 };
182 182
183 #endif // SHARE_VM_OPTO_INTRINSICNODE_HPP 183 #endif // SHARE_VM_OPTO_INTRINSICNODE_HPP