diff options
Diffstat (limited to 'compiler/compiled_method.cc')
-rw-r--r-- | compiler/compiled_method.cc | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/compiler/compiled_method.cc b/compiler/compiled_method.cc index 9551d2298b..f06d90c81c 100644 --- a/compiler/compiled_method.cc +++ b/compiler/compiled_method.cc @@ -106,9 +106,7 @@ CompiledMethod::CompiledMethod(CompilerDriver* driver, const uint32_t core_spill_mask, const uint32_t fp_spill_mask, const ArrayRef<const SrcMapElem>& src_mapping_table, - const ArrayRef<const uint8_t>& mapping_table, const ArrayRef<const uint8_t>& vmap_table, - const ArrayRef<const uint8_t>& native_gc_map, const ArrayRef<const uint8_t>& cfi_info, const ArrayRef<const LinkerPatch>& patches) : CompiledCode(driver, instruction_set, quick_code), @@ -116,9 +114,7 @@ CompiledMethod::CompiledMethod(CompilerDriver* driver, fp_spill_mask_(fp_spill_mask), src_mapping_table_( driver->GetCompiledMethodStorage()->DeduplicateSrcMappingTable(src_mapping_table)), - mapping_table_(driver->GetCompiledMethodStorage()->DeduplicateMappingTable(mapping_table)), vmap_table_(driver->GetCompiledMethodStorage()->DeduplicateVMapTable(vmap_table)), - gc_map_(driver->GetCompiledMethodStorage()->DeduplicateGCMap(native_gc_map)), cfi_info_(driver->GetCompiledMethodStorage()->DeduplicateCFIInfo(cfi_info)), patches_(driver->GetCompiledMethodStorage()->DeduplicateLinkerPatches(patches)) { } @@ -131,15 +127,20 @@ CompiledMethod* CompiledMethod::SwapAllocCompiledMethod( const uint32_t core_spill_mask, const uint32_t fp_spill_mask, const ArrayRef<const SrcMapElem>& src_mapping_table, - const ArrayRef<const uint8_t>& mapping_table, const ArrayRef<const uint8_t>& vmap_table, - const ArrayRef<const uint8_t>& native_gc_map, const ArrayRef<const uint8_t>& cfi_info, const ArrayRef<const LinkerPatch>& patches) { SwapAllocator<CompiledMethod> alloc(driver->GetCompiledMethodStorage()->GetSwapSpaceAllocator()); CompiledMethod* ret = alloc.allocate(1); - alloc.construct(ret, driver, instruction_set, quick_code, frame_size_in_bytes, core_spill_mask, - fp_spill_mask, src_mapping_table, mapping_table, vmap_table, native_gc_map, + alloc.construct(ret, + driver, + instruction_set, + quick_code, + frame_size_in_bytes, + core_spill_mask, + fp_spill_mask, + src_mapping_table, + vmap_table, cfi_info, patches); return ret; } @@ -154,9 +155,7 @@ CompiledMethod::~CompiledMethod() { CompiledMethodStorage* storage = GetCompilerDriver()->GetCompiledMethodStorage(); storage->ReleaseLinkerPatches(patches_); storage->ReleaseCFIInfo(cfi_info_); - storage->ReleaseGCMap(gc_map_); storage->ReleaseVMapTable(vmap_table_); - storage->ReleaseMappingTable(mapping_table_); storage->ReleaseSrcMappingTable(src_mapping_table_); } |