summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2018-10-16 23:11:09 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-10-16 23:11:09 +0000
commit4e4557a892f7dd0a3d73b9f731250a9d2b061c70 (patch)
tree2559c6eccec78877f1dbc828c38aaec6a01cb7b3 /compiler/driver/compiler_driver.h
parentf4fd65e393fe60f17e22ee7823f8dce4594c053d (diff)
parentcd0f38fcbda3e578ac27e483a1ffb7718f83fb7a (diff)
Merge "Add logic to eagerly resolve const-string for startup methods"
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index 343f67c6d5..9a83e55c96 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -430,6 +430,12 @@ class CompilerDriver {
typedef AtomicDexRefMap<MethodReference, CompiledMethod*> MethodTable;
private:
+ // Resolve const string literals that are loaded from dex code. If only_startup_strings is
+ // specified, only methods that are marked startup in the profile are resolved.
+ void ResolveConstStrings(const std::vector<const DexFile*>& dex_files,
+ bool only_startup_strings,
+ /*inout*/ TimingLogger* timings);
+
// All method references that this compiler has compiled.
MethodTable compiled_methods_;