summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-11-11 18:14:02 +0000
committerDan Gohman <gohman@apple.com>2009-11-11 18:14:02 +0000
commitacc57b2446da4427fde7ebcb45a487a2b4465cbb (patch)
treef01d9a0191c15bb22e54846cbe3e1ec0a76d877f
parent9fd22f68f2987c87c9cbabaa36310567f2701201 (diff)
downloadbcm5719-llvm-acc57b2446da4427fde7ebcb45a487a2b4465cbb.tar.gz
bcm5719-llvm-acc57b2446da4427fde7ebcb45a487a2b4465cbb.zip
Fix a copy+pasto in a comment.
llvm-svn: 86852
-rw-r--r--llvm/include/llvm/Analysis/CFGPrinter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/CFGPrinter.h b/llvm/include/llvm/Analysis/CFGPrinter.h
index bee2c5b0d31..440d18267da 100644
--- a/llvm/include/llvm/Analysis/CFGPrinter.h
+++ b/llvm/include/llvm/Analysis/CFGPrinter.h
@@ -72,7 +72,7 @@ struct DOTGraphTraits<const Function*> : public DefaultDOTGraphTraits {
if (BI->isConditional())
return (I == succ_begin(Node)) ? "T" : "F";
- // Label source of conditional branches with "T" or "F"
+ // Label source of switch edges with the associated value.
if (const SwitchInst *SI = dyn_cast<SwitchInst>(Node->getTerminator())) {
unsigned SuccNo = I.getSuccessorIndex();
OpenPOWER on IntegriCloud