summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/code_generator.h
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2014-12-19 17:22:29 +0000
committerCalin Juravle <calin@google.com>2015-01-05 16:25:59 +0000
commit3416601a9e9be81bb7494864287fd3602d18ef13 (patch)
treedd228519bfb9733aa7627b9cea81ecb28974a1ab /compiler/optimizing/code_generator.h
parent8558375377946aabbbda6ab584e13f754590bd89 (diff)
downloadart-3416601a9e9be81bb7494864287fd3602d18ef13.tar.gz
art-3416601a9e9be81bb7494864287fd3602d18ef13.tar.bz2
art-3416601a9e9be81bb7494864287fd3602d18ef13.zip
Look at instruction set features when generating volatiles code
Change-Id: Ia882405719fdd60b63e4102af7e085f7cbe0bb2a
Diffstat (limited to 'compiler/optimizing/code_generator.h')
-rw-r--r--compiler/optimizing/code_generator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h
index 2e7eca2ead..4205ebebf9 100644
--- a/compiler/optimizing/code_generator.h
+++ b/compiler/optimizing/code_generator.h
@@ -18,6 +18,7 @@
#define ART_COMPILER_OPTIMIZING_CODE_GENERATOR_H_
#include "arch/instruction_set.h"
+#include "arch/instruction_set_features.h"
#include "base/bit_field.h"
#include "globals.h"
#include "locations.h"
@@ -84,7 +85,8 @@ class CodeGenerator : public ArenaObject<kArenaAllocMisc> {
void CompileOptimized(CodeAllocator* allocator);
static CodeGenerator* Create(ArenaAllocator* allocator,
HGraph* graph,
- InstructionSet instruction_set);
+ InstructionSet instruction_set,
+ const InstructionSetFeatures& isa_features);
HGraph* GetGraph() const { return graph_; }