From 8808756b8fba036a9c73a45c800a56be09872364 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Sat, 23 Jun 2018 22:05:56 +0100 Subject: Remove frame info from OatQuickMethodHeader. The information has been moved to CodeInfo, where it is stored in much more compact way. The old CL which added the data to CodeInfo cost 0.7%. This CL saves 2.5% of .oat file size so a win overall. Test: test-art-host-gtest Change-Id: I07fcf6f2776c96218f995ba3b57a1e6ccbf5e317 --- compiler/compiled_method.cc | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'compiler/compiled_method.cc') diff --git a/compiler/compiled_method.cc b/compiler/compiled_method.cc index e41371855d..5b93316b87 100644 --- a/compiler/compiled_method.cc +++ b/compiler/compiled_method.cc @@ -102,17 +102,11 @@ const void* CompiledCode::CodePointer(const void* code_pointer, InstructionSet i CompiledMethod::CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const ArrayRef& quick_code, - const size_t frame_size_in_bytes, - const uint32_t core_spill_mask, - const uint32_t fp_spill_mask, const ArrayRef& method_info, const ArrayRef& vmap_table, const ArrayRef& cfi_info, const ArrayRef& patches) : CompiledCode(driver, instruction_set, quick_code), - frame_size_in_bytes_(frame_size_in_bytes), - core_spill_mask_(core_spill_mask), - fp_spill_mask_(fp_spill_mask), method_info_(driver->GetCompiledMethodStorage()->DeduplicateMethodInfo(method_info)), vmap_table_(driver->GetCompiledMethodStorage()->DeduplicateVMapTable(vmap_table)), cfi_info_(driver->GetCompiledMethodStorage()->DeduplicateCFIInfo(cfi_info)), @@ -123,9 +117,6 @@ CompiledMethod* CompiledMethod::SwapAllocCompiledMethod( CompilerDriver* driver, InstructionSet instruction_set, const ArrayRef& quick_code, - const size_t frame_size_in_bytes, - const uint32_t core_spill_mask, - const uint32_t fp_spill_mask, const ArrayRef& method_info, const ArrayRef& vmap_table, const ArrayRef& cfi_info, @@ -136,9 +127,6 @@ CompiledMethod* CompiledMethod::SwapAllocCompiledMethod( driver, instruction_set, quick_code, - frame_size_in_bytes, - core_spill_mask, - fp_spill_mask, method_info, vmap_table, cfi_info, patches); -- cgit v1.2.3-59-g8ed1b