Layout codeitems based on profile data
Test: ./art/test/testrunner/testrunner.py --host -t 638-c
Change-Id: I15cef5d8bd25cbb74f844bd4c8241700b0f7dc13
diff --git a/dexlayout/dexlayout.h b/dexlayout/dexlayout.h
index 69117ad..531bc98 100644
--- a/dexlayout/dexlayout.h
+++ b/dexlayout/dexlayout.h
@@ -108,7 +108,8 @@
void DumpDexFile();
std::vector<dex_ir::ClassData*> LayoutClassDefsAndClassData(const DexFile* dex_file);
- int32_t LayoutCodeItems(std::vector<dex_ir::ClassData*> new_class_data_order);
+ int32_t LayoutCodeItems(const DexFile* dex_file,
+ std::vector<dex_ir::ClassData*> new_class_data_order);
void LayoutStringData(const DexFile* dex_file);
bool IsNextSectionCodeItemAligned(uint32_t offset);
template<class T> void FixupSection(std::map<uint32_t, std::unique_ptr<T>>& map, uint32_t diff);