diff options
| -rw-r--r-- | dex2oat/dex2oat.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index 3be57516f9..869c8229db 100644 --- a/dex2oat/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -165,7 +165,13 @@ static void UsageError(const char* fmt, ...) { UsageError(" --compiler-backend=(Quick|Optimizing|Portable): select compiler backend"); UsageError(" set."); UsageError(" Example: --compiler-backend=Portable"); - UsageError(" Default: Quick"); + if (kUsePortableCompiler) { + UsageError(" Default: Portable"); + } else if (kUseOptimizingCompiler) { + UsageError(" Default: Optimizing"); + } else { + UsageError(" Default: Quick"); + } UsageError(""); UsageError(" --compiler-filter=" "(verify-none" |