1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00
- Minimize redundant isa<GlobalValue> usage

llvm-svn: 14952
This commit is contained in:
Reid Spencer 2004-07-18 00:44:14 +00:00
parent b6c894409b
commit f687d42d99

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;