| commit | 7c3952f423b8213083d60596a5f0bf4237ca3f7b | [log] [tgz] |
|---|---|---|
| author | Andreas Gampe <agampe@google.com> | Thu Feb 19 18:21:24 2015 -0800 |
| committer | Andreas Gampe <agampe@google.com> | Tue Feb 24 15:57:15 2015 -0800 |
| tree | 40cbc6d30e02ab5edd8598d0f811b62f5c6045ba | |
| parent | 354d58ba776866ea7b1c71f0d0848d5aaa013ae3 [diff] [blame] |
ART: Add -Wunused Until the global CFLAGS are fixed, add Wunused. Fix declarations in the optimizing compiler. Change-Id: Ic4553f08e809dc54f3d82af57ac592622c98e000
diff --git a/compiler/optimizing/register_allocator.h b/compiler/optimizing/register_allocator.h index ff2f106..579f069 100644 --- a/compiler/optimizing/register_allocator.h +++ b/compiler/optimizing/register_allocator.h
@@ -81,6 +81,8 @@ + double_spill_slots_.Size(); } + static constexpr const char* kRegisterAllocatorPassName = "register"; + private: // Main methods of the allocator. void LinearScan();