diff options
author | Richard Uhler <ruhler@google.com> | 2017-03-02 13:45:45 +0000 |
---|---|---|
committer | Richard Uhler <ruhler@google.com> | 2017-03-08 10:55:17 +0000 |
commit | c52f3034b06c03632e937aff07d46c2bdcadfef5 (patch) | |
tree | 031e4d1b2ca0961014e57e4987d80d7aa2c435b0 /compiler/driver/compiler_options.cc | |
parent | ef81e988d0eb4db390e576aac346701b2d820916 (diff) |
Remove --include-patch-information option from dex2oat.
Because we no longer support running patchoat on npic oat files, which
means the included patch information is unused .
Bug: 33192586
Test: m test-art-host
Change-Id: I9e100c4e47dc24d91cd74226c84025e961d30f67
Diffstat (limited to 'compiler/driver/compiler_options.cc')
-rw-r--r-- | compiler/driver/compiler_options.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/driver/compiler_options.cc b/compiler/driver/compiler_options.cc index c222f90043..34ad1c5c08 100644 --- a/compiler/driver/compiler_options.cc +++ b/compiler/driver/compiler_options.cc @@ -32,7 +32,6 @@ CompilerOptions::CompilerOptions() no_inline_from_(nullptr), boot_image_(false), app_image_(false), - include_patch_information_(kDefaultIncludePatchInformation), top_k_profile_threshold_(kDefaultTopKProfileThreshold), debuggable_(false), generate_debug_info_(kDefaultGenerateDebugInfo), @@ -66,7 +65,6 @@ CompilerOptions::CompilerOptions(CompilerFilter::Filter compiler_filter, size_t inline_depth_limit, size_t inline_max_code_units, const std::vector<const DexFile*>* no_inline_from, - bool include_patch_information, double top_k_profile_threshold, bool debuggable, bool generate_debug_info, @@ -93,7 +91,6 @@ CompilerOptions::CompilerOptions(CompilerFilter::Filter compiler_filter, no_inline_from_(no_inline_from), boot_image_(false), app_image_(false), - include_patch_information_(include_patch_information), top_k_profile_threshold_(top_k_profile_threshold), debuggable_(debuggable), generate_debug_info_(generate_debug_info), @@ -206,10 +203,6 @@ bool CompilerOptions::ParseCompilerOption(const StringPiece& option, UsageFn Usa debuggable_ = true; } else if (option.starts_with("--top-k-profile-threshold=")) { ParseDouble(option.data(), '=', 0.0, 100.0, &top_k_profile_threshold_, Usage); - } else if (option == "--include-patch-information") { - include_patch_information_ = true; - } else if (option == "--no-include-patch-information") { - include_patch_information_ = false; } else if (option == "--abort-on-hard-verifier-error") { abort_on_hard_verifier_failure_ = true; } else if (option.starts_with("--dump-init-failures=")) { |