commit | af81235ef96a7a005b7fdfe5a64cce30df3d820d | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sat Oct 16 11:28:23 2010 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sat Oct 16 11:28:23 2010 +0000 |
tree | dfdfbf00bf74fe78fc2c432ed3969dd3b058b4cf | |
parent | d30dcfe3312cc0a7c48834b7063a84c111b0b762 [diff] [blame] |
Eliminate some calls to Value::getNameStr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116670 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/ProfileVerifierPass.cpp b/lib/Analysis/ProfileVerifierPass.cpp index f0fa05a..784f63f 100644 --- a/lib/Analysis/ProfileVerifierPass.cpp +++ b/lib/Analysis/ProfileVerifierPass.cpp
@@ -287,7 +287,7 @@ 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; } }