diff options
author | 2015-02-19 18:21:24 -0800 | |
---|---|---|
committer | 2015-02-24 15:57:15 -0800 | |
commit | 7c3952f423b8213083d60596a5f0bf4237ca3f7b (patch) | |
tree | 40cbc6d30e02ab5edd8598d0f811b62f5c6045ba /compiler/optimizing/instruction_simplifier.h | |
parent | 354d58ba776866ea7b1c71f0d0848d5aaa013ae3 (diff) |
ART: Add -Wunused
Until the global CFLAGS are fixed, add Wunused. Fix declarations
in the optimizing compiler.
Change-Id: Ic4553f08e809dc54f3d82af57ac592622c98e000
Diffstat (limited to 'compiler/optimizing/instruction_simplifier.h')
-rw-r--r-- | compiler/optimizing/instruction_simplifier.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/optimizing/instruction_simplifier.h b/compiler/optimizing/instruction_simplifier.h index a7ff755aed..024462081f 100644 --- a/compiler/optimizing/instruction_simplifier.h +++ b/compiler/optimizing/instruction_simplifier.h @@ -30,9 +30,11 @@ class InstructionSimplifier : public HOptimization { public: InstructionSimplifier(HGraph* graph, OptimizingCompilerStats* stats = nullptr, - const char* name = "instruction_simplifier") + const char* name = kInstructionSimplifierPassName) : HOptimization(graph, true, name, stats) {} + static constexpr const char* kInstructionSimplifierPassName = "instruction_simplifier"; + void Run() OVERRIDE; }; |