aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-09-09 16:58:41 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-09-09 16:58:41 +0000
commitf711d34e983e2b91b5a30ad52c467d00b8bdff8c (patch)
tree190f42514dca8817359174cedff3ee959a1b38a7 /llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
parent8d575cb2e1bb7ba5ac5249a21423f785483854a3 (diff)
downloadllvm-f711d34e983e2b91b5a30ad52c467d00b8bdff8c.zip
llvm-f711d34e983e2b91b5a30ad52c467d00b8bdff8c.tar.gz
llvm-f711d34e983e2b91b5a30ad52c467d00b8bdff8c.tar.bz2
Reverting back to the previous revision.
We want to check for length 5 because we might get the "llvm." string as the name. That string is in the LLVM namespace and should be checked as such. We also don't have to worry about garbage data because (I believe) the string class will return a valid value. So, the switch statement will work and we don't have to worry about the code wandering into segfault land. llvm-svn: 8419
Diffstat (limited to 'llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp')
0 files changed, 0 insertions, 0 deletions