summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/AsmWriter.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-09-14 05:43:23 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-09-14 05:43:23 +0000
commitf27c4cde06292c23834f55885b07e823c88b4413 (patch)
tree199793b7037f86c05129bf14e96a0def960f0205 /llvm/lib/VMCore/AsmWriter.cpp
parent2cdd49de2a22a4a1cf77019623d40112b1031a61 (diff)
downloadbcm5719-llvm-f27c4cde06292c23834f55885b07e823c88b4413.tar.gz
bcm5719-llvm-f27c4cde06292c23834f55885b07e823c88b4413.zip
Okay, the list of link-time passes wasn't such a hot idea. Its prone to
error. We'll strategize on this when we have multiple front ends to deal with. For now llvm-ld just runs a standard set of transforms. llvm-svn: 16333
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 0cca2a78824..236e243caad 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -778,20 +778,6 @@ void AssemblyWriter::printModule(const Module *M) {
Out << " ]\n";
}
- // Loop over the link time pass list and emit them.
- Module::pass_iterator PI = M->pass_begin();
- Module::pass_iterator PE = M->pass_end();
- if (LI != LE) {
- Out << "passes = [ ";
- while (LI != LE) {
- Out << '"' << *LI << '"';
- ++LI;
- if (LI != LE)
- Out << ", ";
- }
- Out << " ]\n";
- }
-
// Loop over the symbol table, emitting all named constants.
printSymbolTable(M->getSymbolTable());
OpenPOWER on IntegriCloud