summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2018-11-30 18:40:34 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-11-30 18:40:34 +0000
commitd378a567a435a80be9ab7eb8bfe0359c1240c0ff (patch)
tree28e96907cda376e51289ee83d8071565f6ceba6b /compiler/driver/compiler_options.h
parente2ca5cfd18664ad9934102c14fd28cde2736b144 (diff)
parent1a8429680f9d08d5f2b49fd93f9ad4df81b7cb66 (diff)
Merge "Add image compressed blocks"
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r--compiler/driver/compiler_options.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index f0970a9e0d..17a779c965 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -335,6 +335,14 @@ class CompilerOptions final {
return check_profiled_methods_;
}
+ uint32_t MaxImageBlockSize() const {
+ return max_image_block_size_;
+ }
+
+ void SetMaxImageBlockSize(uint32_t size) {
+ max_image_block_size_ = size;
+ }
+
private:
bool ParseDumpInitFailures(const std::string& option, std::string* error_msg);
void ParseDumpCfgPasses(const StringPiece& option, UsageFn Usage);
@@ -424,6 +432,9 @@ class CompilerOptions final {
// up compiled and are not punted.
ProfileMethodsCheck check_profiled_methods_;
+ // Maximum solid block size in the generated image.
+ uint32_t max_image_block_size_;
+
RegisterAllocator::Strategy register_allocation_strategy_;
// If not null, specifies optimization passes which will be run instead of defaults.