summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/inliner.h
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2015-03-18 18:31:52 +0000
committerNicolas Geoffray <ngeoffray@google.com>2015-03-20 12:16:25 +0000
commitc0365b144651c4e586ddc235423b3f0111966f89 (patch)
tree7d996dcd0233f6f26ffd7c72dda331f630cc8309 /compiler/optimizing/inliner.h
parenta2b02f7bb474549ae356b5edfbb27a76e5460c58 (diff)
downloadart-c0365b144651c4e586ddc235423b3f0111966f89.zip
art-c0365b144651c4e586ddc235423b3f0111966f89.tar.gz
art-c0365b144651c4e586ddc235423b3f0111966f89.tar.bz2
Remember whether a method was worth inlining.
Change-Id: I9d8efe312b264739ac6307f966e43c1d7650a3ca
Diffstat (limited to 'compiler/optimizing/inliner.h')
-rw-r--r--compiler/optimizing/inliner.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/optimizing/inliner.h b/compiler/optimizing/inliner.h
index 2b08d3d..1251977 100644
--- a/compiler/optimizing/inliner.h
+++ b/compiler/optimizing/inliner.h
@@ -46,6 +46,9 @@ class HInliner : public HOptimization {
private:
bool TryInline(HInvoke* invoke_instruction, uint32_t method_index, InvokeType invoke_type) const;
+ bool TryBuildAndInline(Handle<mirror::ArtMethod> resolved_method,
+ HInvoke* invoke_instruction,
+ uint32_t method_index) const;
const DexCompilationUnit& outer_compilation_unit_;
CompilerDriver* const compiler_driver_;