Mercurial > hg > truffle
diff src/share/vm/opto/graphKit.cpp @ 12159:b17d8f6d9ed7
8023472: C2 optimization breaks with G1
Summary: set control edge for previous value load in G1 pre-barrier
Reviewed-by: twisti
author | kvn |
---|---|
date | Fri, 23 Aug 2013 18:04:35 -0700 |
parents | 2b3fe74309b6 |
children | 29aa8936f03c |
line wrap: on
line diff
--- a/src/share/vm/opto/graphKit.cpp Fri Aug 23 11:41:37 2013 -0700 +++ b/src/share/vm/opto/graphKit.cpp Fri Aug 23 18:04:35 2013 -0700 @@ -3595,7 +3595,7 @@ if (do_load) { // load original value // alias_idx correct?? - pre_val = __ load(no_ctrl, adr, val_type, bt, alias_idx); + pre_val = __ load(__ ctrl(), adr, val_type, bt, alias_idx); } // if (pre_val != NULL)