diff options
author | David Srbecky <dsrbecky@google.com> | 2019-01-29 18:52:12 +0000 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2019-02-14 09:44:47 +0000 |
commit | 131f23a4c2c34b689c07e6efd05cea74190f0113 (patch) | |
tree | c0c1927bd770f0224c6aed5eaccb13765a7cc57d /compiler/common_compiler_test.cc | |
parent | 438cc2b34be2a5d114a50ba6cdef22f9045d863a (diff) |
Remove code size from OatQuickMethodHeader
This saves from 0.75% from oat file size.
Bug: 123510633
Change-Id: Ibf0d45d5d84057ee45a3584a4b69a7c0487443bf
Diffstat (limited to 'compiler/common_compiler_test.cc')
-rw-r--r-- | compiler/common_compiler_test.cc | 2 |
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(); |