hotspot/src/share/vm/interpreter/bytecode.cpp
changeset 46727 6e4a84748e2c
parent 43458 61ab1daf0fc8
equal deleted inserted replaced
46726:7801367e3cc9 46727:6e4a84748e2c
   210   constantTag tag = _method->constants()->tag_at(index);
   210   constantTag tag = _method->constants()->tag_at(index);
   211   return tag.basic_type();
   211   return tag.basic_type();
   212 }
   212 }
   213 
   213 
   214 oop Bytecode_loadconstant::resolve_constant(TRAPS) const {
   214 oop Bytecode_loadconstant::resolve_constant(TRAPS) const {
   215   assert(_method.not_null(), "must supply method to resolve constant");
   215   assert(_method != NULL, "must supply method to resolve constant");
   216   int index = raw_index();
   216   int index = raw_index();
   217   ConstantPool* constants = _method->constants();
   217   ConstantPool* constants = _method->constants();
   218   if (has_cache_index()) {
   218   if (has_cache_index()) {
   219     return constants->resolve_cached_constant_at(index, THREAD);
   219     return constants->resolve_cached_constant_at(index, THREAD);
   220   } else {
   220   } else {