summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Calin Juravle <calin@google.com> 2018-04-19 21:03:06 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-04-19 21:03:06 +0000
commitfccbb72fef13867a2b51fe8137ca81bf44d8efae (patch)
tree0ba4e12742ea75de039977a4f5a4bb96f72c6dd3
parent9f3a0c3d5171f49111e11a62b6ff746a7838afe0 (diff)
parentb49dc287fe42575de6fb9a047cdca3c9648b942c (diff)
Merge "Remove dexoptanalyzer fast file check" into pi-dev
-rw-r--r--dexoptanalyzer/dexoptanalyzer.cc5
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;
}