summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}