aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ProfileVerifierPass.cpp
diff options
context:
space:
mode:
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;
}
}