diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2019-03-05 09:24:45 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2019-03-05 15:40:35 +0000 |
commit | 5708376183c4e2d4456a191955c5060e404a9f0a (patch) | |
tree | 4afed897b6e71c45b4f51ae9536d5bb6da7ec024 /compiler/common_compiler_test.cc | |
parent | 3c83921510c849cd43b90ab6094abce232c8c088 (diff) |
Revert "Remove code size from OatQuickMethodHeader"
This reverts commit 131f23a4c2c34b689c07e6efd05cea74190f0113.
Bug: 123510633
Bug: 127305289
Reason for revert: b/127305289
Change-Id: I59905779fe8c7d7551c0fa6c8693fb64eb6760b2
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 2dd6fdd440..d59cb17909 100644 --- a/compiler/common_compiler_test.cc +++ b/compiler/common_compiler_test.cc @@ -56,7 +56,7 @@ void CommonCompilerTest::MakeExecutable(ArtMethod* method, const CompiledMethod* 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); + OatQuickMethodHeader method_header(vmap_table_offset, code_size); header_code_and_maps_chunks_.push_back(std::vector<uint8_t>()); std::vector<uint8_t>* chunk = &header_code_and_maps_chunks_.back(); |