summaryrefslogtreecommitdiff
path: root/compiler/dex/quick/quick_compiler.h
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2016-01-14 18:43:36 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-01-14 18:43:36 +0000
commit7b4199a5fa9f151fbf3af2a34f26d04215a1016c (patch)
tree111493b5fee26087dcc8abc1a1f56a140d549c8d /compiler/dex/quick/quick_compiler.h
parent15db4dcfcc17dfe6c41d3c7b26355ccfa2504f4e (diff)
parent705ad49f353d3f90d8b63625aca2c2035bacdbef (diff)
Merge "Support directly invoking interface default methods"
Diffstat (limited to 'compiler/dex/quick/quick_compiler.h')
-rw-r--r--compiler/dex/quick/quick_compiler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/dex/quick/quick_compiler.h b/compiler/dex/quick/quick_compiler.h
index d512b256cd..55f45f1ab0 100644
--- a/compiler/dex/quick/quick_compiler.h
+++ b/compiler/dex/quick/quick_compiler.h
@@ -18,6 +18,7 @@
#define ART_COMPILER_DEX_QUICK_QUICK_COMPILER_H_
#include "compiler.h"
+#include "dex/mir_graph.h"
namespace art {
@@ -74,6 +75,8 @@ class QuickCompiler : public Compiler {
explicit QuickCompiler(CompilerDriver* driver);
private:
+ bool CanCompileInstruction(const MIR* mir, const DexFile& dex_file) const;
+
std::unique_ptr<PassManager> pre_opt_pass_manager_;
std::unique_ptr<PassManager> post_opt_pass_manager_;
DISALLOW_COPY_AND_ASSIGN(QuickCompiler);