OSDN Git Service

Relax limits for profiler based compilation options.
authorCalin Juravle <calin@google.com>
Wed, 2 Jul 2014 13:00:33 +0000 (14:00 +0100)
committerCalin Juravle <calin@google.com>
Wed, 2 Jul 2014 13:01:00 +0000 (14:01 +0100)
Change-Id: I57a7b11588f5c5b5f12217239ecf58f59ae02e2b

dex2oat/dex2oat.cc

index 915945d..3387f91 100644 (file)
@@ -998,7 +998,7 @@ static int dex2oat(int argc, char** argv) {
     } else if (option == "--no-profile-file") {
       // No profile
     } else if (option.starts_with("--top-k-profile-threshold=")) {
-      ParseDouble(option.data(), '=', 10.0, 90.0, &top_k_profile_threshold);
+      ParseDouble(option.data(), '=', 0.0, 100.0, &top_k_profile_threshold);
     } else if (option == "--print-pass-names") {
       PassDriverMEOpts::PrintPassNames();
     } else if (option.starts_with("--disable-passes=")) {