comparison src/share/vm/oops/generateOopMap.cpp @ 14909:4ca6dc0799b6

Backout jdk9 merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 01 Apr 2014 13:57:07 +0200
parents 9ae5189791f4
children 89152779163c
comparison
equal deleted inserted replaced
14908:8db6e76cb658 14909:4ca6dc0799b6
1861 Bytecode_loadconstant ldc(method(), bci); 1861 Bytecode_loadconstant ldc(method(), bci);
1862 ConstantPool* cp = method()->constants(); 1862 ConstantPool* cp = method()->constants();
1863 constantTag tag = cp->tag_at(ldc.pool_index()); // idx is index in resolved_references 1863 constantTag tag = cp->tag_at(ldc.pool_index()); // idx is index in resolved_references
1864 BasicType bt = ldc.result_type(); 1864 BasicType bt = ldc.result_type();
1865 CellTypeState cts; 1865 CellTypeState cts;
1866 if (tag.basic_type() == T_OBJECT) { 1866 if (tag.is_klass() ||
1867 assert(!tag.is_string_index() && !tag.is_klass_index(), "Unexpected index tag"); 1867 tag.is_unresolved_klass() ||
1868 tag.is_string() ||
1869 tag.is_method_handle() ||
1870 tag.is_method_type()) {
1868 assert(bt == T_OBJECT, "Guard is incorrect"); 1871 assert(bt == T_OBJECT, "Guard is incorrect");
1869 cts = CellTypeState::make_line_ref(bci); 1872 cts = CellTypeState::make_line_ref(bci);
1870 } else { 1873 } else {
1871 assert(bt != T_OBJECT, "Guard is incorrect"); 1874 assert(bt != T_OBJECT, "Guard is incorrect");
1872 cts = valCTS; 1875 cts = valCTS;