summaryrefslogtreecommitdiff
path: root/compiler/optimizing/find_loops_test.cc
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2023-02-02 15:41:26 +0000
committer David Srbecky <dsrbecky@google.com> 2023-02-09 13:26:39 +0000
commita8a815cb3a20ac492e1a9d7025b3224708199f60 (patch)
tree8c8f6737e4547e5c51da5f2ff542d8aa20edcb41 /compiler/optimizing/find_loops_test.cc
parente2c7f90282c0deb39b7060959308e9daa1aa739e (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