summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2018-10-16 23:11:09 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-10-16 23:11:09 +0000
commit4e4557a892f7dd0a3d73b9f731250a9d2b061c70 (patch)
tree2559c6eccec78877f1dbc828c38aaec6a01cb7b3 /compiler/driver/compiler_options.h
parentf4fd65e393fe60f17e22ee7823f8dce4594c053d (diff)
parentcd0f38fcbda3e578ac27e483a1ffb7718f83fb7a (diff)
Merge "Add logic to eagerly resolve const-string for startup methods"
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r--compiler/driver/compiler_options.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index e9cbf74428..4a6bbfaae6 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -313,6 +313,10 @@ class CompilerOptions final {
return count_hotness_in_compiled_code_;
}
+ bool ResolveStartupConstStrings() const {
+ return resolve_startup_const_strings_;
+ }
+
private:
bool ParseDumpInitFailures(const std::string& option, std::string* error_msg);
void ParseDumpCfgPasses(const StringPiece& option, UsageFn Usage);
@@ -392,6 +396,10 @@ class CompilerOptions final {
// won't be atomic for performance reasons, so we accept races, just like in interpreter.
bool count_hotness_in_compiled_code_;
+ // Whether we eagerly resolve all of the const strings that are loaded from startup methods in the
+ // profile.
+ bool resolve_startup_const_strings_;
+
RegisterAllocator::Strategy register_allocation_strategy_;
// If not null, specifies optimization passes which will be run instead of defaults.