Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/parse3.cpp @ 17671:de95063c0e34
8027422: assert(_gvn.type(obj)->higher_equal(tjp)) failed: cast_up is no longer needed
Summary: type methods shouldn't always operate on speculative part
Reviewed-by: kvn, twisti
author | roland |
---|---|
date | Fri, 24 Jan 2014 09:31:53 +0100 |
parents | edb5ab0f3fe5 |
children | 45467c53f178 |
line wrap: on
line diff
--- a/src/share/vm/opto/parse3.cpp Tue Jan 14 17:46:48 2014 -0800 +++ b/src/share/vm/opto/parse3.cpp Fri Jan 24 09:31:53 2014 +0100 @@ -337,7 +337,7 @@ // should_be_constant = (oop not scavengable || ScavengeRootsInCode >= 2) // An oop is not scavengable if it is in the perm gen. if (stable_type != NULL && con_type != NULL && con_type->isa_oopptr()) - con_type = con_type->join(stable_type); + con_type = con_type->join_speculative(stable_type); break; case T_ILLEGAL: