summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.h
diff options
context:
space:
mode:
author Calin Juravle <calin@google.com> 2015-01-06 12:10:48 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-01-06 12:10:49 +0000
commit0eb8e5db064188f09ebec78ea8ac8b4a7596c12c (patch)
tree76f9812b6ea74ed8ac072cdd27629682611f3f7a /compiler/optimizing/code_generator.h
parent1e862370ff2c3207afd1b2fc6f77f7ca345643b2 (diff)
parent3416601a9e9be81bb7494864287fd3602d18ef13 (diff)
Merge "Look at instruction set features when generating volatiles code"
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_; }