[llvm-commits] [llvm] r77274 - /llvm/trunk/lib/Transforms/Utils/LowerSwitch.cpp
Mike Stump
mrs at apple.com
Mon Jul 27 16:33:35 PDT 2009
Author: mrs
Date: Mon Jul 27 18:33:34 2009
New Revision: 77274
URL: http://llvm.org/viewvc/llvm-project?rev=77274&view=rev
Log:
Fix a release-asserts warning. Debug functions should be marked used,
if there are no other uses. If people don't need this routine
anymore, if should be deleted.
Modified:
llvm/trunk/lib/Transforms/Utils/LowerSwitch.cpp
Modified: llvm/trunk/lib/Transforms/Utils/LowerSwitch.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/LowerSwitch.cpp?rev=77274&r1=77273&r2=77274&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/LowerSwitch.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/LowerSwitch.cpp Mon Jul 27 18:33:34 2009
@@ -110,6 +110,8 @@
// operator<< - Used for debugging purposes.
//
static raw_ostream& operator<<(raw_ostream &O,
+ const LowerSwitch::CaseVector &C) __attribute((used));
+static raw_ostream& operator<<(raw_ostream &O,
const LowerSwitch::CaseVector &C) {
O << "[";
More information about the llvm-commits
mailing list