From: Anders Carlsson Date: Sun, 2 Aug 2009 04:17:43 +0000 (+0000) Subject: Remove old code that was causing the new test to fail. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26fb937145f32221bb8b4e1119b122396c2ac1ce;p=clang Remove old code that was causing the new test to fail. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77862 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index 2361c4a334..f4bc5afd09 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/lib/CodeGen/CGStmt.cpp @@ -909,9 +909,6 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) { if (Info.isReadWrite()) { InOutConstraints += ','; - const Expr *InputExpr = S.getOutputExpr(i); - llvm::Value *Arg = EmitAsmInput(S, Info, InputExpr, InOutConstraints); - if (Info.allowsRegister()) InOutConstraints += llvm::utostr(i); else