mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
* Remove the concept of a critical shadow node
* Make the function pointer argument explicit for a call nodes * Eliminate unreachable global values * Merge call nodes that are identical git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2266 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -56,7 +56,7 @@ void DataStructure::print(std::ostream &O, Module *M) const {
|
||||
if (!(*I)->isExternal()) {
|
||||
|
||||
string Filename = "ds." + (*I)->getName() + ".dot";
|
||||
O << "Writing '" << Filename << "'...\n";
|
||||
O << "Writing '" << Filename << "'...";
|
||||
ofstream F(Filename.c_str());
|
||||
if (F.good()) {
|
||||
F << "digraph DataStructures {\n"
|
||||
@ -72,9 +72,12 @@ void DataStructure::print(std::ostream &O, Module *M) const {
|
||||
} else {
|
||||
O << " error opening file for writing!\n";
|
||||
}
|
||||
|
||||
O << (*I)->getName() << " " << getDSGraph(*I).getGraphSize() << " "
|
||||
<< getClosedDSGraph(*I).getGraphSize() << "\n";
|
||||
|
||||
if (Time)
|
||||
O << " [" << getDSGraph(*I).getGraphSize() << ", "
|
||||
<< getClosedDSGraph(*I).getGraphSize() << "]\n";
|
||||
else
|
||||
O << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user