summaryrefslogtreecommitdiffstats
path: root/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
commit1c7b907325e9cf3a0713ceab5029fef04d9e498c (patch)
tree309f209381b087a116d18a6fa3081cbd41b5e0e7 /lib/VMCore/AsmWriter.cpp
parent44da7d79760998f9a70340b49a3811229838224d (diff)
downloadexternal_llvm-1c7b907325e9cf3a0713ceab5029fef04d9e498c.zip
external_llvm-1c7b907325e9cf3a0713ceab5029fef04d9e498c.tar.gz
external_llvm-1c7b907325e9cf3a0713ceab5029fef04d9e498c.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/AsmWriter.cpp')
-rw-r--r--lib/VMCore/AsmWriter.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index 0cca2a7..236e243 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/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());