diff options
author | Mike Stump <mrs@apple.com> | 2009-07-27 23:33:34 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-07-27 23:33:34 +0000 |
commit | 4798763e149ee795f85101e728d7bedf2d5812e2 (patch) | |
tree | d36a2bfc3527455da17488b4075fb86fc297bbd5 /llvm/lib/Transforms/Utils/LowerSwitch.cpp | |
parent | a30c0a1b3e3c67f142627fafd7a61abf0f122d44 (diff) | |
download | bcm5719-llvm-4798763e149ee795f85101e728d7bedf2d5812e2.tar.gz bcm5719-llvm-4798763e149ee795f85101e728d7bedf2d5812e2.zip |
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
Diffstat (limited to 'llvm/lib/Transforms/Utils/LowerSwitch.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LowerSwitch.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/LowerSwitch.cpp b/llvm/lib/Transforms/Utils/LowerSwitch.cpp index 17e40e1a23a..5c20a81a5af 100644 --- a/llvm/lib/Transforms/Utils/LowerSwitch.cpp +++ b/llvm/lib/Transforms/Utils/LowerSwitch.cpp @@ -110,6 +110,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 << "["; |