diff options
Diffstat (limited to 'dex2oat/dex2oat.cc')
-rw-r--r-- | dex2oat/dex2oat.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index 4460523..c080453 100644 --- a/dex2oat/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -180,11 +180,7 @@ NO_RETURN static void Usage(const char* fmt, ...) { "|time):"); UsageError(" select compiler filter."); UsageError(" Example: --compiler-filter=everything"); -#if ART_SMALL_MODE - UsageError(" Default: interpret-only"); -#else UsageError(" Default: speed"); -#endif UsageError(""); UsageError(" --huge-method-max=<method-instruction-count>: the threshold size for a huge"); UsageError(" method for compiler filter tuning."); @@ -878,15 +874,8 @@ class Dex2Oat FINAL { // For Mips64, can only compile in interpreter mode. // TODO: fix compiler for Mips64. compiler_filter_string = "interpret-only"; - } else if (image_) { - compiler_filter_string = "speed"; } else { - // TODO: Migrate SMALL mode to command line option. - #if ART_SMALL_MODE - compiler_filter_string = "interpret-only"; - #else compiler_filter_string = "speed"; - #endif } } CHECK(compiler_filter_string != nullptr); |