From: Chris Lattner Date: Sat, 28 Apr 2007 04:05:59 +0000 (+0000) Subject: Fix this to match change to InlineAsm class. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b01731812284e5396dcb6dd3b0eae769fcaed6d1;p=oota-llvm.git Fix this to match change to InlineAsm class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36524 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index ac3eedfa3a1..4e57a7b36aa 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -3209,7 +3209,7 @@ void SelectionDAGLowering::visitInlineAsm(CallInst &I) { // Compute the value type for each operand and add it to ConstraintVTs. switch (Constraints[i].Type) { case InlineAsm::isOutput: - if (!Constraints[i].isIndirectOutput) { + if (!Constraints[i].isIndirect) { assert(I.getType() != Type::VoidTy && "Bad inline asm!"); OpVT = TLI.getValueType(I.getType()); } else { @@ -3283,7 +3283,7 @@ void SelectionDAGLowering::visitInlineAsm(CallInst &I) { if (!MVT::isInteger(InOperandVal.getValueType())) assert(0 && "MATCH FAIL!"); - if (!Constraints[i].isIndirectOutput) + if (!Constraints[i].isIndirect) assert(0 && "MATCH FAIL!"); OpNum++; // Consumes a call operand. @@ -3324,7 +3324,7 @@ void SelectionDAGLowering::visitInlineAsm(CallInst &I) { exit(1); } - if (!Constraints[i].isIndirectOutput) { + if (!Constraints[i].isIndirect) { assert(RetValRegs.Regs.empty() && "Cannot have multiple output constraints yet!"); assert(I.getType() != Type::VoidTy && "Bad inline asm!");