diff options
author | Ian Rogers <irogers@google.com> | 2013-08-09 22:05:32 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2013-08-09 22:23:50 -0700 |
commit | 1809a72a66d245ae598582d658b93a24ac3bf01e (patch) | |
tree | f864ff869185b2873637ca70584c66fd6a1e899d /compiler/image_writer.cc | |
parent | a9a50926963b5093fb851ed966d201f3e95f72d3 (diff) | |
download | art-1809a72a66d245ae598582d658b93a24ac3bf01e.zip art-1809a72a66d245ae598582d658b93a24ac3bf01e.tar.gz art-1809a72a66d245ae598582d658b93a24ac3bf01e.tar.bz2 |
Uleb128 compression of vmap and mapping table.
Bug 9437697.
Change-Id: I30bcb97d12cd8b46d3b2cdcbdd358f08fbb9947a
Diffstat (limited to 'compiler/image_writer.cc')
-rw-r--r-- | compiler/image_writer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/image_writer.cc b/compiler/image_writer.cc index 550d642..3432c8c 100644 --- a/compiler/image_writer.cc +++ b/compiler/image_writer.cc @@ -547,11 +547,11 @@ void ImageWriter::FixupMethod(const AbstractMethod* orig, AbstractMethod* copy) // Normal (non-abstract non-native) methods have various tables to relocate. uint32_t mapping_table_off = orig->GetOatMappingTableOffset(); const byte* mapping_table = GetOatAddress(mapping_table_off); - copy->SetMappingTable(reinterpret_cast<const uint32_t*>(mapping_table)); + copy->SetMappingTable(mapping_table); uint32_t vmap_table_offset = orig->GetOatVmapTableOffset(); const byte* vmap_table = GetOatAddress(vmap_table_offset); - copy->SetVmapTable(reinterpret_cast<const uint16_t*>(vmap_table)); + copy->SetVmapTable(vmap_table); uint32_t native_gc_map_offset = orig->GetOatNativeGcMapOffset(); const byte* native_gc_map = GetOatAddress(native_gc_map_offset); |