summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2013-11-27 17:04:20 +0000
committer Vladimir Marko <vmarko@google.com> 2013-12-17 18:24:13 +0000
commit5816ed48bc339c983b40dc493e96b97821ce7966 (patch)
tree1682c6d13ae274132f4e3630f9b20ab4bdb291a3 /compiler/driver/compiler_driver.h
parent2b5eaa2b49f7489bafdadc4b4463ae27e4261817 (diff)
Detect special methods at the end of verification.
This moves special method handling to method inliner and prepares for eventual inlining of these methods. Change-Id: I51c51b940fb7bc714e33135cd61be69467861352
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index 14bfde672d..f4cc84dfe7 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -41,6 +41,7 @@ namespace art {
class AOTCompilationStats;
class ParallelCompilationManager;
class DexCompilationUnit;
+class DexFileToMethodInlinerMap;
class OatWriter;
class TimingLogger;
class VerifiedMethodsData;
@@ -92,6 +93,7 @@ class CompilerDriver {
// can assume will be in the image, with NULL implying all available
// classes.
explicit CompilerDriver(VerifiedMethodsData* verified_methods_data,
+ DexFileToMethodInlinerMap* method_inliner_map,
CompilerBackend compiler_backend, InstructionSet instruction_set,
InstructionSetFeatures instruction_set_features,
bool image, DescriptorSet* image_classes,
@@ -111,6 +113,10 @@ class CompilerDriver {
return verified_methods_data_;
}
+ DexFileToMethodInlinerMap* GetMethodInlinerMap() const {
+ return method_inliner_map_;
+ }
+
const InstructionSet& GetInstructionSet() const {
return instruction_set_;
}
@@ -397,6 +403,7 @@ class CompilerDriver {
std::vector<const PatchInformation*> methods_to_patch_;
VerifiedMethodsData* verified_methods_data_;
+ DexFileToMethodInlinerMap* method_inliner_map_;
CompilerBackend compiler_backend_;