commit | 74be3a579403d27df14571a8c7ba7fe7ad28745a | [log] [tgz] |
---|---|---|
author | Brian Gaeke <gaeke@uiuc.edu> | Sat Dec 11 22:17:07 2004 +0000 |
committer | Brian Gaeke <gaeke@uiuc.edu> | Sat Dec 11 22:17:07 2004 +0000 |
tree | 2e3ed67d7284246a5efb696bfa83127211b5c806 | |
parent | f23586c7efe615d061c00c24cf62f03f7962776f [diff] [blame] |
Print llvm code one function at a time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18805 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Sparc/SparcTargetMachine.cpp b/lib/Target/Sparc/SparcTargetMachine.cpp index 8059853..a867503 100644 --- a/lib/Target/Sparc/SparcTargetMachine.cpp +++ b/lib/Target/Sparc/SparcTargetMachine.cpp
@@ -82,7 +82,7 @@ // Print LLVM code input to instruction selector: if (PrintMachineCode) - PM.add(new PrintModulePass()); + PM.add(new PrintFunctionPass()); PM.add(createSparcV8SimpleInstructionSelector(*this));