diff options
author | 2023-02-02 15:41:26 +0000 | |
---|---|---|
committer | 2023-02-09 13:26:39 +0000 | |
commit | a8a815cb3a20ac492e1a9d7025b3224708199f60 (patch) | |
tree | 8c8f6737e4547e5c51da5f2ff542d8aa20edcb41 /compiler/optimizing/find_loops_test.cc | |
parent | e2c7f90282c0deb39b7060959308e9daa1aa739e (diff) |
Remove OatWriter::DexFileSource
The AddDexFileSource methods open the input file, read the header,
and do minimal amount verification. However, this is what
DexFileLoader does (with the full dex verification disabled).
Therefore we can remove the code and use DexFileLoader directly.
Likewise, the AddDexFileSource manually handled the lifespan
of the various types of open input files, but the DexFileLoader
already can do automatically via the DexFileContainer.
Therefore we can just replace DexFileSource with DexFile.
Bug: 266950186
Test: ./art/test.py -b --host --all-cdex_level --64
Change-Id: I72185f53d79785a1df0dcf8dee10ab88e606894d
Diffstat (limited to 'compiler/optimizing/find_loops_test.cc')
0 files changed, 0 insertions, 0 deletions