summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.cc
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2019-02-21 12:41:53 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2019-02-21 12:41:53 +0000
commite57087025bb462f875c1fb0574eefba92f29ff20 (patch)
tree15278f603ea9508869dcc9ab9b26a97617e3fc1a /compiler/common_compiler_test.cc
parentc55a1a260e34144d294640d84d09f5c1d77636ca (diff)
parent131f23a4c2c34b689c07e6efd05cea74190f0113 (diff)
Merge "Remove code size from OatQuickMethodHeader"
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 07c73c9a20..2046f4f025 100644
--- a/compiler/common_compiler_test.cc
+++ b/compiler/common_compiler_test.cc
@@ -66,7 +66,7 @@ void CommonCompilerTest::MakeExecutable(ArtMethod* method) {
ArrayRef<const uint8_t> vmap_table = compiled_method->GetVmapTable();
const uint32_t vmap_table_offset = vmap_table.empty() ? 0u
: sizeof(OatQuickMethodHeader) + vmap_table.size();
- OatQuickMethodHeader method_header(vmap_table_offset, code_size);
+ OatQuickMethodHeader method_header(vmap_table_offset);
header_code_and_maps_chunks_.push_back(std::vector<uint8_t>());
std::vector<uint8_t>* chunk = &header_code_and_maps_chunks_.back();