Mercurial > hg > truffle
diff src/share/vm/opto/type.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 | ff5961f4c095 |
children | ba764ed4b6f2 |
line wrap: on
line diff
--- a/src/share/vm/opto/type.hpp Thu Mar 13 16:06:34 2008 -0700 +++ b/src/share/vm/opto/type.hpp Thu Mar 13 16:31:32 2008 -0700 @@ -686,6 +686,7 @@ bool klass_is_exact() const { return _klass_is_exact; } bool is_instance() const { return _instance_id != UNKNOWN_INSTANCE; } uint instance_id() const { return _instance_id; } + bool is_instance_field() const { return _instance_id != UNKNOWN_INSTANCE && _offset >= 0; } virtual intptr_t get_con() const;