mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
nuke pointless -debug output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15267 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ccb354b687
commit
b0015c510f
@ -14,7 +14,6 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#define DEBUG_TYPE "globalsmodref-aa"
|
|
||||||
#include "llvm/Analysis/Passes.h"
|
#include "llvm/Analysis/Passes.h"
|
||||||
#include "llvm/Module.h"
|
#include "llvm/Module.h"
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
@ -24,7 +23,6 @@
|
|||||||
#include "llvm/Analysis/CallGraph.h"
|
#include "llvm/Analysis/CallGraph.h"
|
||||||
#include "llvm/Support/InstIterator.h"
|
#include "llvm/Support/InstIterator.h"
|
||||||
#include "Support/CommandLine.h"
|
#include "Support/CommandLine.h"
|
||||||
#include "Support/Debug.h"
|
|
||||||
#include "Support/Statistic.h"
|
#include "Support/Statistic.h"
|
||||||
#include "Support/SCCIterator.h"
|
#include "Support/SCCIterator.h"
|
||||||
#include <set>
|
#include <set>
|
||||||
@ -229,8 +227,6 @@ bool GlobalsModRef::AnalyzeUsesOfGlobal(Value *V,
|
|||||||
/// graph to all callers and compute the mod/ref info for all memory for each
|
/// graph to all callers and compute the mod/ref info for all memory for each
|
||||||
/// function.
|
/// function.
|
||||||
void GlobalsModRef::AnalyzeCallGraph(CallGraph &CG, Module &M) {
|
void GlobalsModRef::AnalyzeCallGraph(CallGraph &CG, Module &M) {
|
||||||
DEBUG(std::cerr << "GlobalsModRef: Analyze Call Graph\n");
|
|
||||||
|
|
||||||
// We do a bottom-up SCC traversal of the call graph. In other words, we
|
// We do a bottom-up SCC traversal of the call graph. In other words, we
|
||||||
// visit all callees before callers (leaf-first).
|
// visit all callees before callers (leaf-first).
|
||||||
for (scc_iterator<CallGraph*> I = scc_begin(&CG), E = scc_end(&CG); I!=E; ++I)
|
for (scc_iterator<CallGraph*> I = scc_begin(&CG), E = scc_end(&CG); I!=E; ++I)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user