diff options
author | 2018-11-30 18:40:34 +0000 | |
---|---|---|
committer | 2018-11-30 18:40:34 +0000 | |
commit | d378a567a435a80be9ab7eb8bfe0359c1240c0ff (patch) | |
tree | 28e96907cda376e51289ee83d8071565f6ceba6b /compiler/driver/compiler_options_map-inl.h | |
parent | e2ca5cfd18664ad9934102c14fd28cde2736b144 (diff) | |
parent | 1a8429680f9d08d5f2b49fd93f9ad4df81b7cb66 (diff) |
Merge "Add image compressed blocks"
Diffstat (limited to 'compiler/driver/compiler_options_map-inl.h')
-rw-r--r-- | compiler/driver/compiler_options_map-inl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/driver/compiler_options_map-inl.h b/compiler/driver/compiler_options_map-inl.h index c7334a72e7..7e2a64b52b 100644 --- a/compiler/driver/compiler_options_map-inl.h +++ b/compiler/driver/compiler_options_map-inl.h @@ -84,6 +84,7 @@ inline bool ReadCompilerOptions(Base& map, CompilerOptions* options, std::string if (map.Exists(Base::CheckProfiledMethods)) { options->check_profiled_methods_ = *map.Get(Base::CheckProfiledMethods); } + map.AssignIfExists(Base::MaxImageBlockSize, &options->max_image_block_size_); if (map.Exists(Base::DumpTimings)) { options->dump_timings_ = true; @@ -201,7 +202,11 @@ inline void AddCompilerOptionsArgumentParserOptions(Builder& b) { .Define("--verbose-methods=_") .template WithType<ParseStringList<','>>() - .IntoKey(Map::VerboseMethods); + .IntoKey(Map::VerboseMethods) + + .Define("--max-image-block-size=_") + .template WithType<unsigned int>() + .IntoKey(Map::MaxImageBlockSize); } #pragma GCC diagnostic pop |