summaryrefslogtreecommitdiffstats
path: root/compiler/dex/compiler_ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/dex/compiler_ir.h')
-rw-r--r--compiler/dex/compiler_ir.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/compiler/dex/compiler_ir.h b/compiler/dex/compiler_ir.h
index d28df1d..6a45f7b 100644
--- a/compiler/dex/compiler_ir.h
+++ b/compiler/dex/compiler_ir.h
@@ -27,6 +27,7 @@
#include "base/timing_logger.h"
#include "invoke_type.h"
#include "safe_map.h"
+#include "quick/quick_compiler.h"
namespace art {
@@ -160,7 +161,8 @@ struct OptionContent {
};
struct CompilationUnit {
- CompilationUnit(ArenaPool* pool, InstructionSet isa, CompilerDriver* driver, ClassLinker* linker);
+ CompilationUnit(ArenaPool* pool, InstructionSet isa, CompilerDriver* driver, ClassLinker* linker,
+ const QuickCompiler* compiler);
~CompilationUnit();
void StartTimingSplit(const char* label);
@@ -194,7 +196,7 @@ struct CompilationUnit {
std::unique_ptr<Mir2Lir> cg; // Target-specific codegen.
TimingLogger timings;
bool print_pass; // Do we want to print a pass or not?
-
+ const QuickCompiler* compiler_;
/**
* @brief Holds pass options for current pass being applied to compilation unit.
* @details This is updated for every pass to contain the overridden pass options