diff options
| author | 2018-04-19 21:03:06 +0000 | |
|---|---|---|
| committer | 2018-04-19 21:03:06 +0000 | |
| commit | fccbb72fef13867a2b51fe8137ca81bf44d8efae (patch) | |
| tree | 0ba4e12742ea75de039977a4f5a4bb96f72c6dd3 | |
| parent | 9f3a0c3d5171f49111e11a62b6ff746a7838afe0 (diff) | |
| parent | b49dc287fe42575de6fb9a047cdca3c9648b942c (diff) | |
Merge "Remove dexoptanalyzer fast file check" into pi-dev
| -rw-r--r-- | dexoptanalyzer/dexoptanalyzer.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/dexoptanalyzer/dexoptanalyzer.cc b/dexoptanalyzer/dexoptanalyzer.cc index febccf1950..871cd081e7 100644 --- a/dexoptanalyzer/dexoptanalyzer.cc +++ b/dexoptanalyzer/dexoptanalyzer.cc @@ -247,11 +247,6 @@ class DexoptAnalyzer FINAL { } int GetDexOptNeeded() { - // If the file does not exist there's nothing to do. - // This is a fast path to avoid creating the runtime (b/34385298). - if (!OS::FileExists(dex_file_.c_str())) { - return kNoDexOptNeeded; - } if (!CreateRuntime()) { return kErrorCannotCreateRuntime; } |