src/share/vm/ci/ciStreams.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
valhalla-experimental Cdiff src/share/vm/ci/ciStreams.cpp
src/share/vm/ci/ciStreams.cpp
Print this page
*** 170,191 ****
case Bytecodes::_anewarray:
case Bytecodes::_multianewarray:
case Bytecodes::_new:
case Bytecodes::_vnew:
case Bytecodes::_newarray:
return get_index_u2();
default:
ShouldNotReachHere();
return 0;
}
}
// ------------------------------------------------------------------
// ciBytecodeStream::get_klass
//
! // If this bytecode is a new, newarray, multianewarray, instanceof,
! // or checkcast, get the referenced klass.
ciKlass* ciBytecodeStream::get_klass(bool& will_link) {
VM_ENTRY_MARK;
constantPoolHandle cpool(_method->get_Method()->constants());
return CURRENT_ENV->get_klass_by_index(cpool, get_klass_index(), will_link, _holder);
}
--- 170,193 ----
case Bytecodes::_anewarray:
case Bytecodes::_multianewarray:
case Bytecodes::_new:
case Bytecodes::_vnew:
case Bytecodes::_newarray:
+ case Bytecodes::_vunbox:
+ case Bytecodes::_vbox:
return get_index_u2();
default:
ShouldNotReachHere();
return 0;
}
}
// ------------------------------------------------------------------
// ciBytecodeStream::get_klass
//
! // If this bytecode is a new, newarray, multianewarray, instanceof, vbox,
! // vunbox, or checkcast, get the referenced klass.
ciKlass* ciBytecodeStream::get_klass(bool& will_link) {
VM_ENTRY_MARK;
constantPoolHandle cpool(_method->get_Method()->constants());
return CURRENT_ENV->get_klass_by_index(cpool, get_klass_index(), will_link, _holder);
}
src/share/vm/ci/ciStreams.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File