aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-02-18 20:13:59 +0000
committerChad Rosier <mcrosier@apple.com>2013-02-18 20:13:59 +0000
commitb875acda987650d1d734b8bc6e76283950529f84 (patch)
tree5011a0110161fc7b29341ec2d2106e95d0804840
parentfbed8555ad409ba74a032baf53ece1c873c2b9a3 (diff)
downloadexternal_llvm-b875acda987650d1d734b8bc6e76283950529f84.zip
external_llvm-b875acda987650d1d734b8bc6e76283950529f84.tar.gz
external_llvm-b875acda987650d1d734b8bc6e76283950529f84.tar.bz2
[ms-inline asm] Remove a redundant call to the setHasMSInlineAsm function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175456 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index c1235a9..a598ec4 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -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) {