- Minimize redundant isa<GlobalValue> usage

llvm-svn: 14952
This commit is contained in:
Reid Spencer 2004-07-18 00:44:14 +00:00
parent 6a0fd73bee
commit e5914d8555
1 changed files with 1 additions and 1 deletions

View File

@ -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;