diff options
| author | 2016-03-18 15:29:16 -0700 | |
|---|---|---|
| committer | 2016-03-18 15:44:05 -0700 | |
| commit | 73d8c65f7eef74549f9d7599567da7265521eecc (patch) | |
| tree | fbf27170cf9cf06db29640ff775797cb9b273878 | |
| parent | a807780b1d8ee01dfb03923c673621b4c81ac858 (diff) | |
Fix incorrect dex2oat check
Should have been VerifyOnlyProfile.
Bug: 27688727
(cherry picked from commit 821dad8f384f8c520f062a317b3b66c78aa12b47)
Change-Id: I451ce8264115283132bc9e34708331a5c62817bf
| -rw-r--r-- | dex2oat/dex2oat.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index c2d5e4dd06..0debd42834 100644 --- a/dex2oat/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -813,7 +813,7 @@ class Dex2Oat FINAL { Usage("Profile file should not be specified with both --profile-file-fd and --profile-file"); } - if (compiler_options_->IsVerificationEnabled() && !have_profile_file && !have_profile_fd) { + if (compiler_options_->VerifyOnlyProfile() && !have_profile_file && !have_profile_fd) { Usage("verify-profile compiler filter must be used with a profile file or fd"); } |