summaryrefslogtreecommitdiffstats
path: root/dex2oat
diff options
context:
space:
mode:
authorJeff Hao <jeffhao@google.com>2015-03-03 23:32:31 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-03-03 23:32:32 +0000
commit86a4db469e9ab31d6574a58fe67702c7fc5222d7 (patch)
tree957eae3e59861671b7043640d68958c6b80a4989 /dex2oat
parent0e5e728a4a4f042f157e1897cc8bbc2b0bb110b1 (diff)
parentf3c7ba6a5759873138fbf4ae24a216dc0d87a3fe (diff)
downloadandroid_art-86a4db469e9ab31d6574a58fe67702c7fc5222d7.tar.gz
android_art-86a4db469e9ab31d6574a58fe67702c7fc5222d7.tar.bz2
android_art-86a4db469e9ab31d6574a58fe67702c7fc5222d7.zip
Merge "Remove ART_SMALL_MODE ifdefs."
Diffstat (limited to 'dex2oat')
-rw-r--r--dex2oat/dex2oat.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index 22665ea6ee..df7bb57f24 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.");
@@ -875,15 +871,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);