diff options
author | David Srbecky <dsrbecky@google.com> | 2015-03-30 14:21:42 +0100 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2015-04-01 12:57:10 +0100 |
commit | 6f7158927fee233255f8e96719c374694b10cad3 (patch) | |
tree | 518cef41f4cd9c3119879eb463aa4b67af5f6ff8 /compiler/compiled_method.cc | |
parent | ef3456f872539df65c4c88ca346713f74366d803 (diff) | |
download | art-6f7158927fee233255f8e96719c374694b10cad3.zip art-6f7158927fee233255f8e96719c374694b10cad3.tar.gz art-6f7158927fee233255f8e96719c374694b10cad3.tar.bz2 |
Write .debug_line section using the new DWARF library.
Also simplify dex to java mapping and handle mapping
in prologues and epilogues.
Change-Id: I410f06024580f2a8788f2c93fe9bca132805029a
Diffstat (limited to 'compiler/compiled_method.cc')
-rw-r--r-- | compiler/compiled_method.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/compiled_method.cc b/compiler/compiled_method.cc index 1849e7e..03370db 100644 --- a/compiler/compiled_method.cc +++ b/compiler/compiled_method.cc @@ -142,7 +142,6 @@ CompiledMethod::CompiledMethod(CompilerDriver* driver, if (src_mapping_table == nullptr) { src_mapping_table_ = new SwapSrcMap(driver->GetSwapSpaceAllocator()); } else { - src_mapping_table->Arrange(); src_mapping_table_ = new SwapSrcMap(src_mapping_table->begin(), src_mapping_table->end(), driver->GetSwapSpaceAllocator()); } @@ -159,7 +158,7 @@ CompiledMethod::CompiledMethod(CompilerDriver* driver, } else { src_mapping_table_ = src_mapping_table == nullptr ? driver->DeduplicateSrcMappingTable(ArrayRef<SrcMapElem>()) : - driver->DeduplicateSrcMappingTable(ArrayRef<SrcMapElem>(src_mapping_table->Arrange())); + driver->DeduplicateSrcMappingTable(ArrayRef<SrcMapElem>(*src_mapping_table)); mapping_table_ = mapping_table.empty() ? nullptr : driver->DeduplicateMappingTable(mapping_table); vmap_table_ = driver->DeduplicateVMapTable(vmap_table); |