diff options
Diffstat (limited to 'runtime/common_throws.cc')
| -rw-r--r-- | runtime/common_throws.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/common_throws.cc b/runtime/common_throws.cc index a3e3cfad7e..8de3068dca 100644 --- a/runtime/common_throws.cc +++ b/runtime/common_throws.cc @@ -363,7 +363,7 @@ void ThrowNullPointerExceptionForMethodAccess(const ThrowLocation& throw_locatio } void ThrowNullPointerExceptionFromDexPC(const ThrowLocation& throw_location) { - const DexFile::CodeItem* code = MethodHelper(throw_location.GetMethod()).GetCodeItem(); + const DexFile::CodeItem* code = throw_location.GetMethod()->GetCodeItem(); uint32_t throw_dex_pc = throw_location.GetDexPc(); CHECK_LT(throw_dex_pc, code->insns_size_in_code_units_); const Instruction* instr = Instruction::At(&code->insns_[throw_dex_pc]); |