diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-10-16 11:28:23 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-10-16 11:28:23 +0000 |
commit | af81235ef96a7a005b7fdfe5a64cce30df3d820d (patch) | |
tree | dfdfbf00bf74fe78fc2c432ed3969dd3b058b4cf /lib/Analysis/ProfileVerifierPass.cpp | |
parent | d30dcfe3312cc0a7c48834b7063a84c111b0b762 (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.cpp | 2 |
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; } } |