diff options
author | 2018-06-21 16:03:12 +0100 | |
---|---|---|
committer | 2018-06-22 14:26:05 +0100 | |
commit | a45a85c61acbcc4ca4046619b7a98635b32e7622 (patch) | |
tree | cb9b1047be9730f2bec9ef73157fec4c7a53161a /runtime/stack_map.cc | |
parent | 0b4e5a3a1275a4aa6955a0576ab9d57eedd5bdd2 (diff) |
Ensure that BitTableAccessor refers to non-null table.
Hopefully this should make clang analyzer happy.
Test: test-art-host-gtest-stack_map_test
Change-Id: I19c9048302dd47dd262842e0b58ed139f83fa1f6
Diffstat (limited to 'runtime/stack_map.cc')
-rw-r--r-- | runtime/stack_map.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stack_map.cc b/runtime/stack_map.cc index f40168b8b8..5472d4cb4f 100644 --- a/runtime/stack_map.cc +++ b/runtime/stack_map.cc @@ -44,7 +44,7 @@ StackMap CodeInfo::GetStackMapForNativePcOffset(uint32_t pc, InstructionSet isa) return *it; } } - return StackMap(); + return stack_maps_.GetInvalidRow(); } // Scan backward to determine dex register locations at given stack map. |