summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2018-01-22 13:07:49 -0800
committer Andreas Gampe <agampe@google.com> 2018-01-22 15:13:50 -0800
commit3c060ad0ff25d8231d5a93ac17ec0f30150034dd (patch)
tree4d93e9d405ec323e02ac20e82362960cda5c0166 /compiler/driver/compiler_driver.h
parentb3c0b5229d2e224e7c895660ed9ba258e4d7a51c (diff)
ART: Refactor dex2dex compilation
Refactor the code to tease out the dex2dex compilation flow. Use templatized functions for common code. Bug: 29089975 Test: m test-art-host Change-Id: Ib31d491ed4676ae4cee9132ceb613a372fb06479
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index 87a8a186c1..306feb9980 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -374,10 +374,6 @@ class CompilerDriver {
|| android::base::EndsWith(boot_image_filename, "core-optimizing.art");
}
- bool GetCompilingDexToDex() const {
- return compiling_dex_to_dex_;
- }
-
optimizer::DexToDexCompiler& GetDexToDexCompiler() {
return dex_to_dex_compiler_;
}
@@ -449,13 +445,6 @@ class CompilerDriver {
void Compile(jobject class_loader,
const std::vector<const DexFile*>& dex_files,
TimingLogger* timings);
- void CompileDexFile(jobject class_loader,
- const DexFile& dex_file,
- const std::vector<const DexFile*>& dex_files,
- ThreadPool* thread_pool,
- size_t thread_count,
- TimingLogger* timings)
- REQUIRES(!Locks::mutator_lock_);
bool MayInlineInternal(const DexFile* inlined_from, const DexFile* inlined_into) const;
@@ -541,7 +530,6 @@ class CompilerDriver {
size_t max_arena_alloc_;
// Compiler for dex to dex (quickening).
- bool compiling_dex_to_dex_;
optimizer::DexToDexCompiler dex_to_dex_compiler_;
friend class CompileClassVisitor;