bug 122:
- Minimize redundant isa<GlobalValue> usage llvm-svn: 14952
This commit is contained in:
parent
6a0fd73bee
commit
e5914d8555
|
@ -59,7 +59,7 @@ namespace {
|
|||
if (CS.getInstruction()) {
|
||||
for (CallSite::arg_iterator AI = CS.arg_begin(),
|
||||
E = CS.arg_end(); AI != E; ++AI)
|
||||
if (isa<Constant>(*AI) || isa<GlobalValue>(*AI)) {
|
||||
if (isa<Constant>(*AI)) {
|
||||
if (!PrintedFn) {
|
||||
std::cerr << "Function '" << I->getName() << "':\n";
|
||||
PrintedFn = true;
|
||||
|
|
Loading…
Reference in New Issue