mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
bug 122:
- Minimize redundant isa<GlobalValue> usage llvm-svn: 14952
This commit is contained in:
parent
b6c894409b
commit
f687d42d99
@ -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…
x
Reference in New Issue
Block a user