summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2017-09-18 14:03:45 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2017-09-18 14:06:55 +0100
commitc4204a3fb28a7e5abb8d16d830f25a6702e7896d (patch)
tree4dccafa19fd5d7e675d41f5ceb84fb78d0acec59 /compiler/driver/compiler_driver.h
parentfe712a8b9c247d66df013f2b4b6faa6009d745bb (diff)
Missed submitting this in last commit.
Comment updates from https://android-review.googlesource.com/#/c/platform/art/+/481277/ Test: test.py Change-Id: I2b8633f2486d12c9c0dfe23a0e8e63af43e976fc
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index 19fae695b5..5043884836 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -106,6 +106,8 @@ class CompilerDriver {
// Set dex files that will be stored in the oat file after being compiled.
void SetDexFilesForOatFile(const std::vector<const DexFile*>& dex_files);
+
+ // Set dex files classpath.
void SetClasspathDexFiles(const std::vector<const DexFile*>& dex_files);
// Get dex file that will be stored in the oat file after being compiled.
@@ -487,9 +489,10 @@ class CompilerDriver {
std::map<ClassReference, bool> requires_constructor_barrier_
GUARDED_BY(requires_constructor_barrier_lock_);
- // All class references that this compiler has compiled. Indexed by class defs.
using ClassStateTable = AtomicDexRefMap<mirror::Class::Status>;
+ // All class references that this compiler has compiled. Indexed by class defs.
ClassStateTable compiled_classes_;
+ // All class references that are in the classpath. Indexed by class defs.
ClassStateTable classpath_classes_;
typedef AtomicDexRefMap<CompiledMethod*> MethodTable;