Couple of small changes. Delay Slot handle header declared.
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Sat, 18 Aug 2007 02:05:24 +0000 (02:05 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Sat, 18 Aug 2007 02:05:24 +0000 (02:05 +0000)
Newline added after macros at function init on generated asm!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41157 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/Mips.h
lib/Target/Mips/MipsAsmPrinter.cpp

index 48b08eaf802a38bfe4c434a33e30a8bbfff1cd94..234f73876651ec62d7361797eb4c80e91ff2f394 100644 (file)
@@ -23,9 +23,10 @@ namespace llvm {
   class FunctionPass;
   class MachineCodeEmitter;
 
+  FunctionPass *createMipsISelDag(MipsTargetMachine &TM);
+  FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM);
   FunctionPass *createMipsCodePrinterPass(std::ostream &OS, 
                                           MipsTargetMachine &TM);
-  FunctionPass *createMipsISelDag(MipsTargetMachine &TM);
 } // end namespace llvm;
 
 // Defines symbolic names for Mips registers.  This defines a mapping from
index 563386be1312a9e923e058514d16e6b2c11ba2f5..48879ee3e384f50097a7794c758013c6bc6e19e2 100644 (file)
@@ -209,9 +209,9 @@ emitFunctionStart(MachineFunction &MF)
   emitFrameDirective(MF);
   emitMaskDirective(MF);
   emitFMaskDirective();
-
   emitSetDirective(NOREORDER);
   emitSetDirective(NOMACRO);
+  O << "\n";
 }
 
 /// Emit the directives used by GAS on the end of functions