mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-18 01:35:44 +00:00
Use operator << to print modules
llvm-svn: 2360
This commit is contained in:
parent
e87fe3291c
commit
7c02462361
@ -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…
x
Reference in New Issue
Block a user