summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options_map-inl.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2018-10-11 11:40:57 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-10-11 11:40:57 +0000
commit407bdb1d04896c533d205aa255cf8f53ce6660ef (patch)
tree4453fa8dc685034445c2c009a08690b5835f1a86 /compiler/driver/compiler_options_map-inl.h
parent34e3e3c1ac8c0c92c3d898b73b54d670c4dd5a8d (diff)
parenta2da9b99fa1ea3d25d52da71308a623b2aae216c (diff)
Merge "ART: Completely remove the --compile-pic option."
Diffstat (limited to 'compiler/driver/compiler_options_map-inl.h')
-rw-r--r--compiler/driver/compiler_options_map-inl.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/driver/compiler_options_map-inl.h b/compiler/driver/compiler_options_map-inl.h
index 9914d81122..d4a582fb35 100644
--- a/compiler/driver/compiler_options_map-inl.h
+++ b/compiler/driver/compiler_options_map-inl.h
@@ -43,9 +43,6 @@ inline bool ReadCompilerOptions(Base& map, CompilerOptions* options, std::string
}
options->SetCompilerFilter(compiler_filter);
}
- if (map.Exists(Base::PIC)) {
- options->compile_pic_ = true;
- }
map.AssignIfExists(Base::HugeMethodMaxThreshold, &options->huge_method_threshold_);
map.AssignIfExists(Base::LargeMethodMaxThreshold, &options->large_method_threshold_);
map.AssignIfExists(Base::SmallMethodMaxThreshold, &options->small_method_threshold_);
@@ -109,9 +106,6 @@ inline void AddCompilerOptionsArgumentParserOptions(Builder& b) {
.template WithType<std::string>()
.IntoKey(Map::CompilerFilter)
- .Define("--compile-pic")
- .IntoKey(Map::PIC)
-
.Define("--huge-method-max=_")
.template WithType<unsigned int>()
.IntoKey(Map::HugeMethodMaxThreshold)