Mercurial > hg > truffle
diff src/share/vm/c1/c1_ValueMap.hpp @ 2491:0654ee04b214
Merge with OpenJDK.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 22 Apr 2011 15:30:53 +0200 |
parents | 425688247f3d |
children | 701a83c86f28 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_ValueMap.hpp Fri Apr 22 15:22:45 2011 +0200 +++ b/src/share/vm/c1/c1_ValueMap.hpp Fri Apr 22 15:30:53 2011 +0200 @@ -141,7 +141,8 @@ // visitor functions void do_StoreField (StoreField* x) { - if (!x->is_initialized()) { + if (x->is_init_point()) { + // putstatic is an initialization point so treat it as a wide kill kill_memory(); } else { kill_field(x->field()); @@ -159,7 +160,8 @@ void do_Local (Local* x) { /* nothing to do */ } void do_Constant (Constant* x) { /* nothing to do */ } void do_LoadField (LoadField* x) { - if (!x->is_initialized()) { + if (x->is_init_point()) { + // getstatic is an initialization point so treat it as a wide kill kill_memory(); } }