Mercurial > hg > truffle
diff src/share/vm/opto/parse3.cpp @ 14383:5ec7dace41a6
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 Thu Jan 23 01:23:23 2014 +0400 +++ 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: