equal
deleted
inserted
replaced
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 { |