Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/parse2.cpp @ 825:8f5825e0aeaa
6818666: G1: Type lost in g1 pre-barrier
Reviewed-by: kvn
author | never |
---|---|
date | Fri, 26 Jun 2009 13:03:29 -0700 |
parents | c96bf21b756f |
children | bf3489cc0aa0 |
line wrap: on
line diff
--- a/src/share/vm/opto/parse2.cpp Fri Jun 26 07:26:10 2009 -0700 +++ b/src/share/vm/opto/parse2.cpp Fri Jun 26 13:03:29 2009 -0700 @@ -1565,7 +1565,7 @@ c = pop(); // Oop to store b = pop(); // index (already used) a = pop(); // the array itself - const Type* elemtype = _gvn.type(a)->is_aryptr()->elem(); + const TypeOopPtr* elemtype = _gvn.type(a)->is_aryptr()->elem()->is_oopptr(); const TypeAryPtr* adr_type = TypeAryPtr::OOPS; Node* store = store_oop_to_array(control(), a, d, adr_type, c, elemtype, T_OBJECT); break;