]> granicus.if.org Git - clang/commitdiff
[ms-inline asm] As of r163657 this check is unnecessary.
authorChad Rosier <mcrosier@apple.com>
Tue, 11 Sep 2012 23:48:00 +0000 (23:48 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 11 Sep 2012 23:48:00 +0000 (23:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163665 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaStmtAsm.cpp

index 1a7d917c15960cb8d1b8c02c2a676f8ec91a1ff1..2d20d6afcc56bc8fe7bb6453ea31742b23ffd79f 100644 (file)
@@ -595,11 +595,6 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc,
       }
 
       const llvm::MCOperand &Op = Inst.getOperand(MCIdx);
-
-      // Immediate.
-      if (Op.isImm() || Op.isFPImm())
-        continue;
-
       bool isDef = NumDefs && (MCIdx < NumDefs);
 
       // Register/Clobber.