Mercurial > hg > truffle
diff src/share/vm/oops/generateOopMap.cpp @ 14521:29ccc4cbabca
Merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 12 Mar 2014 13:30:08 +0100 |
parents | 9ae5189791f4 |
children | 4ca6dc0799b6 |
line wrap: on
line diff
--- a/src/share/vm/oops/generateOopMap.cpp Tue Mar 11 15:34:06 2014 +0100 +++ b/src/share/vm/oops/generateOopMap.cpp Wed Mar 12 13:30:08 2014 +0100 @@ -1863,11 +1863,8 @@ constantTag tag = cp->tag_at(ldc.pool_index()); // idx is index in resolved_references BasicType bt = ldc.result_type(); CellTypeState cts; - if (tag.is_klass() || - tag.is_unresolved_klass() || - tag.is_string() || - tag.is_method_handle() || - tag.is_method_type()) { + if (tag.basic_type() == T_OBJECT) { + assert(!tag.is_string_index() && !tag.is_klass_index(), "Unexpected index tag"); assert(bt == T_OBJECT, "Guard is incorrect"); cts = CellTypeState::make_line_ref(bci); } else {