diff options
author | 2018-06-14 16:45:22 +0100 | |
---|---|---|
committer | 2018-06-14 17:14:45 +0100 | |
commit | cf7833edafa2dbf31ec7d29b51874dba6a92ae36 (patch) | |
tree | 47b80e86d17768fe2ca0744fe4a5ebff9f1449a6 /runtime/stack_map.cc | |
parent | 45b12e704e158f29877c78bd9a8406db7e361537 (diff) |
Template BitTable based on the accessors.
Test: test-art-host-gtest-stack_map_test
Test: test-art-host-gtest-bit_table_test
Change-Id: I96c04e21864009b64cb3177a0e9f0f8782a9b10b
Diffstat (limited to 'runtime/stack_map.cc')
-rw-r--r-- | runtime/stack_map.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/stack_map.cc b/runtime/stack_map.cc index 43609e80bd..f2418d0f1a 100644 --- a/runtime/stack_map.cc +++ b/runtime/stack_map.cc @@ -91,7 +91,7 @@ void CodeInfo::DecodeDexRegisterMap(uint32_t stack_map_index, template<typename Accessor> static void AddTableSizeStats(const char* table_name, - const BitTable<Accessor::kCount>& table, + const BitTable<Accessor>& table, /*out*/ Stats* parent) { Stats* table_stats = parent->Child(table_name); table_stats->AddBits(table.BitSize()); @@ -135,7 +135,7 @@ void DexRegisterMap::Dump(VariableIndentationOutputStream* vios) const { template<typename Accessor> static void DumpTable(VariableIndentationOutputStream* vios, const char* table_name, - const BitTable<Accessor::kCount>& table, + const BitTable<Accessor>& table, bool verbose, bool is_mask = false) { if (table.NumRows() != 0) { |