summaryrefslogtreecommitdiffstats
path: root/dex2oat/dex2oat.cc
diff options
context:
space:
mode:
authorJeff Hao <jeffhao@google.com>2015-02-23 15:32:43 -0800
committerJeff Hao <jeffhao@google.com>2015-03-02 18:29:58 -0800
commitf3c7ba6a5759873138fbf4ae24a216dc0d87a3fe (patch)
treef2acaf88a41bc9237fabc8234b5bf4a8e6bb7ac1 /dex2oat/dex2oat.cc
parentf5c224cca603ef1dba9bb80952613facc22598fa (diff)
downloadart-f3c7ba6a5759873138fbf4ae24a216dc0d87a3fe.zip
art-f3c7ba6a5759873138fbf4ae24a216dc0d87a3fe.tar.gz
art-f3c7ba6a5759873138fbf4ae24a216dc0d87a3fe.tar.bz2
Remove ART_SMALL_MODE ifdefs.
WITH_ART_SMART_MODE now sets --compiler-filter options instead. Has a corresponding change to /build Bug: 19460766 Change-Id: I295ebbd49caa5341834141f7c2bbf8df830131ed
Diffstat (limited to 'dex2oat/dex2oat.cc')
-rw-r--r--dex2oat/dex2oat.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index 0b1f14d..d727e0a 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);