Mercurial > hg > graal-compiler
diff src/share/vm/opto/library_call.cpp @ 3258:edd9b016deb6
7036021: G1: build failure on win64 and linux with hs21 in jdk6 build environment
Summary: Missing parentheses around a casted expression and some missing casts were causing build failures with the jdk6 build tools.
Reviewed-by: kvn, brutisso
author | johnc |
---|---|
date | Fri, 15 Apr 2011 10:10:50 -0700 |
parents | 5d046bf49ce7 |
children | 286c498ae0d4 |
line wrap: on
line diff
--- a/src/share/vm/opto/library_call.cpp Thu Apr 14 13:49:29 2011 -0700 +++ b/src/share/vm/opto/library_call.cpp Fri Apr 15 10:10:50 2011 -0700 @@ -2193,7 +2193,7 @@ // Use the pre-barrier to record the value in the referent field pre_barrier(false /* do_load */, __ ctrl(), - NULL /* obj */, NULL /* adr */, -1 /* alias_idx */, NULL /* val */, NULL /* val_type */, + NULL /* obj */, NULL /* adr */, max_juint /* alias_idx */, NULL /* val */, NULL /* val_type */, pre_val /* pre_val */, T_OBJECT); @@ -5419,7 +5419,7 @@ // Use the pre-barrier to record the value in the referent field pre_barrier(false /* do_load */, control(), - NULL /* obj */, NULL /* adr */, -1 /* alias_idx */, NULL /* val */, NULL /* val_type */, + NULL /* obj */, NULL /* adr */, max_juint /* alias_idx */, NULL /* val */, NULL /* val_type */, result /* pre_val */, T_OBJECT);