From 5816ed48bc339c983b40dc493e96b97821ce7966 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 27 Nov 2013 17:04:20 +0000 Subject: 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 --- compiler/driver/compiler_driver.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'compiler/driver/compiler_driver.h') 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 methods_to_patch_; VerifiedMethodsData* verified_methods_data_; + DexFileToMethodInlinerMap* method_inliner_map_; CompilerBackend compiler_backend_; -- cgit v1.2.3-59-g8ed1b