Asm printer support, based on x86 - only prints mnemonics for now


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12113 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/SparcV8/SparcV8TargetMachine.cpp b/lib/Target/SparcV8/SparcV8TargetMachine.cpp
index f9a499d..581c535 100644
--- a/lib/Target/SparcV8/SparcV8TargetMachine.cpp
+++ b/lib/Target/SparcV8/SparcV8TargetMachine.cpp
@@ -53,6 +53,8 @@
   // are producing.
   PM.add(createMachineFunctionPrinterPass(&Out));
 
+  PM.add(createSparcV8CodePrinterPass(Out, *this));
+
   PM.add(createMachineCodeDeleter());
   return false;
 }