summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2014-12-10 08:41:47 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-12-10 08:41:48 +0000
commit776b880f66edb21cb3b4225877e494ec7a9ec1a2 (patch)
treefb2bca24134f0116fcf14e8d87a69b77d22bd14d /compiler/common_compiler_test.cc
parent5e31672b257fed7496805fb277b2e5e6915e52c2 (diff)
parent376b2bbf7c39108223a7a01568a7b4b04d84eeac (diff)
Merge "Ensure stack maps are 4 byte aligned."
Diffstat (limited to 'compiler/common_compiler_test.cc')
-rw-r--r--compiler/common_compiler_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc
index a3d9a0bd6d..e84f65a06e 100644
--- a/compiler/common_compiler_test.cc
+++ b/compiler/common_compiler_test.cc
@@ -57,7 +57,7 @@ void CommonCompilerTest::MakeExecutable(mirror::ArtMethod* method) {
const std::vector<uint8_t>& vmap_table = compiled_method->GetVmapTable();
uint32_t vmap_table_offset = vmap_table.empty() ? 0u
: sizeof(OatQuickMethodHeader) + vmap_table.size();
- const std::vector<uint8_t>& mapping_table = compiled_method->GetMappingTable();
+ const std::vector<uint8_t>& mapping_table = *compiled_method->GetMappingTable();
uint32_t mapping_table_offset = mapping_table.empty() ? 0u
: sizeof(OatQuickMethodHeader) + vmap_table.size() + mapping_table.size();
const std::vector<uint8_t>& gc_map = *compiled_method->GetGcMap();