From 593eb952281138e1877adbfb11b88b6e32fdd732 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sun, 18 Jul 2004 00:44:14 +0000 Subject: bug 122: - Minimize redundant isa usage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14952 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/opt/AnalysisWrappers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/opt/AnalysisWrappers.cpp') diff --git a/tools/opt/AnalysisWrappers.cpp b/tools/opt/AnalysisWrappers.cpp index f48d5afe29..7cd0ba0723 100644 --- a/tools/opt/AnalysisWrappers.cpp +++ b/tools/opt/AnalysisWrappers.cpp @@ -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(*AI) || isa(*AI)) { + if (isa(*AI)) { if (!PrintedFn) { std::cerr << "Function '" << I->getName() << "':\n"; PrintedFn = true; -- cgit v1.2.3