summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/builder.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-02-19 18:21:24 -0800
committerAndreas Gampe <agampe@google.com>2015-02-24 15:57:15 -0800
commit7c3952f423b8213083d60596a5f0bf4237ca3f7b (patch)
tree40cbc6d30e02ab5edd8598d0f811b62f5c6045ba /compiler/optimizing/builder.h
parent354d58ba776866ea7b1c71f0d0848d5aaa013ae3 (diff)
downloadandroid_art-7c3952f423b8213083d60596a5f0bf4237ca3f7b.tar.gz
android_art-7c3952f423b8213083d60596a5f0bf4237ca3f7b.tar.bz2
android_art-7c3952f423b8213083d60596a5f0bf4237ca3f7b.zip
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/builder.h')
-rw-r--r--compiler/optimizing/builder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h
index 3e4a6169d9..96196de588 100644
--- a/compiler/optimizing/builder.h
+++ b/compiler/optimizing/builder.h
@@ -80,6 +80,8 @@ class HGraphBuilder : public ValueObject {
bool BuildGraph(const DexFile::CodeItem& code);
+ static constexpr const char* kBuilderPassName = "builder";
+
private:
// Analyzes the dex instruction and adds HInstruction to the graph
// to execute that instruction. Returns whether the instruction can