Fix r212522 - [mips] Improve encapsulation of the .MIPS.abiflags implementation and...
authorDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 8 Jul 2014 10:35:52 +0000 (10:35 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 8 Jul 2014 10:35:52 +0000 (10:35 +0000)
Added two lines that should have been in r212522.

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

lib/Target/Mips/AsmParser/MipsAsmParser.cpp

index 92deb3b..44f18a8 100644 (file)
@@ -2815,6 +2815,9 @@ bool MipsAsmParser::parseDirectiveModule() {
     return false;
   }
 
+  // Emit appropriate flags.
+  getTargetStreamer().emitDirectiveModuleFP(FpABI, isABI_O32());
+
   return false;
 }