diff options
| author | 2017-11-07 21:58:53 +0000 | |
|---|---|---|
| committer | 2017-11-07 21:58:53 +0000 | |
| commit | 41a7e1562e55fd7e4ca4d39ad327749ea316d20c (patch) | |
| tree | 4e43d19366e468d5e9046784a30f9aa37c1cc056 /compiler/driver/compiler_options.h | |
| parent | 5abdfa906f92803a74841a70ea55e0172701fea6 (diff) | |
| parent | cac31ad4c43a24a959a4d3652b8b46538bdc8c53 (diff) | |
Merge "ART: Add compiler option for code deduplication"
Diffstat (limited to 'compiler/driver/compiler_options.h')
| -rw-r--r-- | compiler/driver/compiler_options.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index 12de9be60b..ab2a681468 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -254,6 +254,10 @@ class CompilerOptions FINAL { return force_determinism_; } + bool DeduplicateCode() const { + return deduplicate_code_; + } + RegisterAllocator::Strategy GetRegisterAllocationStrategy() const { return register_allocation_strategy_; } @@ -319,6 +323,9 @@ class CompilerOptions FINAL { // outcomes. bool force_determinism_; + // Whether code should be deduplicated. + bool deduplicate_code_; + RegisterAllocator::Strategy register_allocation_strategy_; // If not null, specifies optimization passes which will be run instead of defaults. |