aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ProfileVerifierPass.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-10-16 11:28:23 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-10-16 11:28:23 +0000
commitaf81235ef96a7a005b7fdfe5a64cce30df3d820d (patch)
treedfdfbf00bf74fe78fc2c432ed3969dd3b058b4cf /lib/Analysis/ProfileVerifierPass.cpp
parentd30dcfe3312cc0a7c48834b7063a84c111b0b762 (diff)
Eliminate some calls to Value::getNameStr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116670 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ProfileVerifierPass.cpp')
-rw-r--r--lib/Analysis/ProfileVerifierPass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ProfileVerifierPass.cpp b/lib/Analysis/ProfileVerifierPass.cpp
index f0fa05a29f..784f63f4fe 100644
--- a/lib/Analysis/ProfileVerifierPass.cpp
+++ b/lib/Analysis/ProfileVerifierPass.cpp
@@ -287,7 +287,7 @@ namespace llvm {
i != ie; ++i) {
if (const CallInst *CI = dyn_cast<CallInst>(&*i)) {
FType *F = CI->getCalledFunction();
- if (F && (F->getNameStr() == "_setjmp")) {
+ if (F && (F->getName() == "_setjmp")) {
isSetJmpTarget = true; break;
}
}