commit | a9783663398baf1289683fc7326430b89963f38e | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sat Jun 16 21:48:13 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sat Jun 16 21:48:13 2012 +0000 |
tree | 847760784435c4f8454fc1eba32b76dbcaffe398 | |
parent | 2741d2cfdff89e45c6b98cd520d5cd3fe97829ad [diff] [blame] |
Guard private fields that are unused in Release builds with #ifndef NDEBUG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158608 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/RegAllocBasic.cpp b/lib/CodeGen/RegAllocBasic.cpp index 1fa54cd..73059ec 100644 --- a/lib/CodeGen/RegAllocBasic.cpp +++ b/lib/CodeGen/RegAllocBasic.cpp
@@ -64,8 +64,10 @@ // context MachineFunction *MF; +#ifndef NDEBUG // analyses RenderMachineFunction *RMF; +#endif // state std::auto_ptr<Spiller> SpillerInstance;