comparison src/share/vm/opto/memnode.hpp @ 1609:4311f23817fd

6959430: Make sure raw loads have control edge Summary: check that raw loads have control edge Reviewed-by: never, twisti
author kvn
date Tue, 15 Jun 2010 18:07:27 -0700
parents c18cbe5936b8
children f95d63e2154a
comparison
equal deleted inserted replaced
1608:2389669474a6 1609:4311f23817fd
186 // Check if the load's memory input is a Phi node with the same control. 186 // Check if the load's memory input is a Phi node with the same control.
187 bool is_instance_field_load_with_local_phi(Node* ctrl); 187 bool is_instance_field_load_with_local_phi(Node* ctrl);
188 188
189 #ifndef PRODUCT 189 #ifndef PRODUCT
190 virtual void dump_spec(outputStream *st) const; 190 virtual void dump_spec(outputStream *st) const;
191 #endif
192 #ifdef ASSERT
193 // Helper function to allow a raw load without control edge for some cases
194 static bool is_immutable_value(Node* adr);
191 #endif 195 #endif
192 protected: 196 protected:
193 const Type* load_array_final_field(const TypeKlassPtr *tkls, 197 const Type* load_array_final_field(const TypeKlassPtr *tkls,
194 ciKlass* klass) const; 198 ciKlass* klass) const;
195 }; 199 };