[ms-inline asm] Remove a redundant call to the setHasMSInlineAsm function.
authorChad Rosier <mcrosier@apple.com>
Mon, 18 Feb 2013 20:13:59 +0000 (20:13 +0000)
committerChad Rosier <mcrosier@apple.com>
Mon, 18 Feb 2013 20:13:59 +0000 (20:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175456 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index c1235a91aa28797cdae24c501c608eb84f276270..a598ec485045b29768b2ee4c4e317f4a98a170e6 100644 (file)
@@ -372,7 +372,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
 
   SDB->init(GFI, *AA, LibInfo);
 
-  MF->setHasMSInlineAsm(false); // FIXME: This affected hasFP().
+  MF->setHasMSInlineAsm(false);
   SelectAllBasicBlocks(Fn);
 
   // If the first basic block in the function has live ins that need to be
@@ -442,7 +442,6 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
   }
 
   // Determine if there are any calls in this machine function.
-  MF->setHasMSInlineAsm(false);
   MachineFrameInfo *MFI = MF->getFrameInfo();
   for (MachineFunction::const_iterator I = MF->begin(), E = MF->end(); I != E;
        ++I) {