Mercurial > hg > graal-compiler
diff src/share/vm/opto/memnode.hpp @ 64:b8f5ba577b02
6673473: (Escape Analysis) Add the instance's field information to PhiNode
Summary: Avoid an infinite generation of instance's field values Phi nodes.
Reviewed-by: never
author | kvn |
---|---|
date | Thu, 13 Mar 2008 16:31:32 -0700 |
parents | 3288958bf319 |
children | 2a9af0b9cb1c |
line wrap: on
line diff
--- a/src/share/vm/opto/memnode.hpp Thu Mar 13 16:06:34 2008 -0700 +++ b/src/share/vm/opto/memnode.hpp Thu Mar 13 16:31:32 2008 -0700 @@ -172,6 +172,9 @@ // Map a load opcode to its corresponding store opcode. virtual int store_Opcode() const = 0; + // Check if the load's memory input is a Phi node with the same control. + bool is_instance_field_load_with_local_phi(Node* ctrl); + #ifndef PRODUCT virtual void dump_spec(outputStream *st) const; #endif