mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Changes for GCC 3.1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3068 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
39d69009d0
commit
1868227886
@ -95,7 +95,7 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
|
||||
// Start resolving calls...
|
||||
std::vector<std::vector<DSNodeHandle> > &FCs = Graph->getFunctionCalls();
|
||||
|
||||
DEBUG(cerr << "Inlining: " << F.getName() << "\n");
|
||||
DEBUG(std::cerr << "Inlining: " << F.getName() << "\n");
|
||||
|
||||
bool Inlined;
|
||||
do {
|
||||
@ -119,7 +119,7 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
|
||||
// Self recursion... simply link up the formal arguments with the
|
||||
// actual arguments...
|
||||
|
||||
DEBUG(cerr << "Self Inlining: " << F.getName() << "\n");
|
||||
DEBUG(std::cerr << "Self Inlining: " << F.getName() << "\n");
|
||||
|
||||
if (Call[0]) // Handle the return value if present...
|
||||
Graph->RetNode->mergeWith(Call[0]);
|
||||
@ -139,7 +139,7 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
|
||||
//
|
||||
DSGraph &GI = calculateGraph(FI); // Graph to inline
|
||||
|
||||
DEBUG(cerr << "Got graph for " << FI.getName() << " in: "
|
||||
DEBUG(std::cerr << "Got graph for " << FI.getName() << " in: "
|
||||
<< F.getName() << "\n");
|
||||
|
||||
// Remember the callers for each callee for use in the top-down
|
||||
|
Loading…
x
Reference in New Issue
Block a user