diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-16 21:48:13 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-16 21:48:13 +0000 |
commit | a9783663398baf1289683fc7326430b89963f38e (patch) | |
tree | 847760784435c4f8454fc1eba32b76dbcaffe398 /lib/CodeGen/RegAllocBasic.cpp | |
parent | 2741d2cfdff89e45c6b98cd520d5cd3fe97829ad (diff) |
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
Diffstat (limited to 'lib/CodeGen/RegAllocBasic.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocBasic.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAllocBasic.cpp b/lib/CodeGen/RegAllocBasic.cpp index 1fa54cd748..73059ec0ab 100644 --- a/lib/CodeGen/RegAllocBasic.cpp +++ b/lib/CodeGen/RegAllocBasic.cpp @@ -64,8 +64,10 @@ class RABasic : public MachineFunctionPass, public RegAllocBase // context MachineFunction *MF; +#ifndef NDEBUG // analyses RenderMachineFunction *RMF; +#endif // state std::auto_ptr<Spiller> SpillerInstance; |