[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)
llvm-svn: 175456

llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index c1235a9..a598ec4 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) {