Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
3257:4080db1b5d0a | 3258:edd9b016deb6 |
---|---|
2191 sync_kit(ideal); | 2191 sync_kit(ideal); |
2192 | 2192 |
2193 // Use the pre-barrier to record the value in the referent field | 2193 // Use the pre-barrier to record the value in the referent field |
2194 pre_barrier(false /* do_load */, | 2194 pre_barrier(false /* do_load */, |
2195 __ ctrl(), | 2195 __ ctrl(), |
2196 NULL /* obj */, NULL /* adr */, -1 /* alias_idx */, NULL /* val */, NULL /* val_type */, | 2196 NULL /* obj */, NULL /* adr */, max_juint /* alias_idx */, NULL /* val */, NULL /* val_type */, |
2197 pre_val /* pre_val */, | 2197 pre_val /* pre_val */, |
2198 T_OBJECT); | 2198 T_OBJECT); |
2199 | 2199 |
2200 // Update IdealKit from graphKit. | 2200 // Update IdealKit from graphKit. |
2201 __ sync_kit(this); | 2201 __ sync_kit(this); |
5417 Node *result = make_load(no_ctrl, adr, object_type, T_OBJECT); | 5417 Node *result = make_load(no_ctrl, adr, object_type, T_OBJECT); |
5418 | 5418 |
5419 // Use the pre-barrier to record the value in the referent field | 5419 // Use the pre-barrier to record the value in the referent field |
5420 pre_barrier(false /* do_load */, | 5420 pre_barrier(false /* do_load */, |
5421 control(), | 5421 control(), |
5422 NULL /* obj */, NULL /* adr */, -1 /* alias_idx */, NULL /* val */, NULL /* val_type */, | 5422 NULL /* obj */, NULL /* adr */, max_juint /* alias_idx */, NULL /* val */, NULL /* val_type */, |
5423 result /* pre_val */, | 5423 result /* pre_val */, |
5424 T_OBJECT); | 5424 T_OBJECT); |
5425 | 5425 |
5426 push(result); | 5426 push(result); |
5427 return true; | 5427 return true; |