mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 13:10:34 +00:00
Use operator << to print modules
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2360 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f4467b8ebc
commit
d43035e1d7
@ -35,10 +35,7 @@ int main(int argc, char **argv) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (DumpAsm) {
|
||||
cerr << "Here's the assembly:\n";
|
||||
M.get()->dump();
|
||||
}
|
||||
if (DumpAsm) cerr << "Here's the assembly:\n" << M.get();
|
||||
|
||||
if (OutputFilename != "") { // Specified an output filename?
|
||||
if (!Force && std::ifstream(OutputFilename.c_str())) {
|
||||
|
@ -109,10 +109,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
}
|
||||
|
||||
if (DumpAsm) {
|
||||
cerr << "Here's the assembly:\n";
|
||||
Composite.get()->dump();
|
||||
}
|
||||
if (DumpAsm) cerr << "Here's the assembly:\n" << Composite.get();
|
||||
|
||||
ostream *Out = &cout; // Default to printing to stdout...
|
||||
if (OutputFilename != "-") {
|
||||
|
@ -35,10 +35,7 @@ int main(int argc, char **argv) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (DumpAsm) {
|
||||
cerr << "Here's the assembly:\n";
|
||||
M.get()->dump();
|
||||
}
|
||||
if (DumpAsm) cerr << "Here's the assembly:\n" << M.get();
|
||||
|
||||
if (OutputFilename != "") { // Specified an output filename?
|
||||
if (!Force && std::ifstream(OutputFilename.c_str())) {
|
||||
|
@ -35,10 +35,7 @@ int main(int argc, char **argv) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (DumpAsm) {
|
||||
cerr << "Here's the assembly:\n";
|
||||
M.get()->dump();
|
||||
}
|
||||
if (DumpAsm) cerr << "Here's the assembly:\n" << M.get();
|
||||
|
||||
if (OutputFilename != "") { // Specified an output filename?
|
||||
if (!Force && std::ifstream(OutputFilename.c_str())) {
|
||||
|
@ -109,10 +109,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
}
|
||||
|
||||
if (DumpAsm) {
|
||||
cerr << "Here's the assembly:\n";
|
||||
Composite.get()->dump();
|
||||
}
|
||||
if (DumpAsm) cerr << "Here's the assembly:\n" << Composite.get();
|
||||
|
||||
ostream *Out = &cout; // Default to printing to stdout...
|
||||
if (OutputFilename != "-") {
|
||||
|
Loading…
Reference in New Issue
Block a user