From 4798763e149ee795f85101e728d7bedf2d5812e2 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Mon, 27 Jul 2009 23:33:34 +0000 Subject: [PATCH] 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. llvm-svn: 77274 --- llvm/lib/Transforms/Utils/LowerSwitch.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/Transforms/Utils/LowerSwitch.cpp b/llvm/lib/Transforms/Utils/LowerSwitch.cpp index 17e40e1a23a6..5c20a81a5afa 100644 --- a/llvm/lib/Transforms/Utils/LowerSwitch.cpp +++ b/llvm/lib/Transforms/Utils/LowerSwitch.cpp @@ -109,6 +109,8 @@ bool LowerSwitch::runOnFunction(Function &F) { // 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 << "[";