diff options
| author | 2018-10-16 23:11:09 +0000 | |
|---|---|---|
| committer | 2018-10-16 23:11:09 +0000 | |
| commit | 4e4557a892f7dd0a3d73b9f731250a9d2b061c70 (patch) | |
| tree | 2559c6eccec78877f1dbc828c38aaec6a01cb7b3 /compiler/driver/compiler_driver.h | |
| parent | f4fd65e393fe60f17e22ee7823f8dce4594c053d (diff) | |
| parent | cd0f38fcbda3e578ac27e483a1ffb7718f83fb7a (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.h | 6 | 
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_; |