summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GCStrategy.cpp
diff options
context:
space:
mode:
authorAhmed Charles <ace2001ac@gmail.com>2012-02-19 11:37:01 +0000
committerAhmed Charles <ace2001ac@gmail.com>2012-02-19 11:37:01 +0000
commit636a3d618ca8217e3fc77b0e47596a9114864aed (patch)
treecc77af62ca8eec4a0419cb4bb871a5889353a24a /llvm/lib/CodeGen/GCStrategy.cpp
parenta4704ab080703a2f761b6319eb1f73ba02d3be5f (diff)
downloadbcm5719-llvm-636a3d618ca8217e3fc77b0e47596a9114864aed.tar.gz
bcm5719-llvm-636a3d618ca8217e3fc77b0e47596a9114864aed.zip
Remove dead code. Improve llvm_unreachable text. Simplify some control flow.
llvm-svn: 150918
Diffstat (limited to 'llvm/lib/CodeGen/GCStrategy.cpp')
-rw-r--r--llvm/lib/CodeGen/GCStrategy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/GCStrategy.cpp b/llvm/lib/CodeGen/GCStrategy.cpp
index 970c8bcfd8d..506b5cf0945 100644
--- a/llvm/lib/CodeGen/GCStrategy.cpp
+++ b/llvm/lib/CodeGen/GCStrategy.cpp
@@ -112,7 +112,7 @@ bool GCStrategy::initializeCustomLowering(Module &M) { return false; }
bool GCStrategy::performCustomLowering(Function &F) {
dbgs() << "gc " << getName() << " must override performCustomLowering.\n";
- llvm_unreachable(0);
+ llvm_unreachable("must override performCustomLowering");
}
OpenPOWER on IntegriCloud