aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnand Shukla <ashukla@cs.uiuc.edu>2002-08-27 16:45:17 +0000
committerAnand Shukla <ashukla@cs.uiuc.edu>2002-08-27 16:45:17 +0000
commit5993829fbd7cb5f94baf4da0cf6e308975cc0063 (patch)
tree0f0be8fa251ec46f658815ba6cf4c7956ae3f54a
parentfabc8803a3b75a881644f393976153d7510df78e (diff)
Added getFunctionInfo and MappingInfoForFunction pass, and fixed the earlier error in compiling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3513 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/SparcV9/SparcV9TargetMachine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
index 0908f85da2..be9159a86c 100644
--- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp
+++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
@@ -182,7 +182,7 @@ void UltraSparc::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out) {
PM.add(createPrologEpilogCodeInserter(*this));
- //PM.add(MappingInfoForFunction(Out));
+ PM.add(MappingInfoForFunction(Out));
// Output assembly language to the .s file. Assembly emission is split into
// two parts: Function output and Global value output. This is because
@@ -192,12 +192,12 @@ void UltraSparc::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out) {
//
PM.add(getFunctionAsmPrinterPass(PM, Out));
PM.add(new FreeMachineCodeForFunction()); // Free stuff no longer needed
-
+
// Emit Module level assembly after all of the functions have been processed.
PM.add(getModuleAsmPrinterPass(PM, Out));
// Emit bytecode to the sparc assembly file into its special section next
PM.add(getEmitBytecodeToAsmPass(Out));
- //PM.add(getFunctionInfo(Out));
+ PM.add(getFunctionInfo(Out));
}