aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-28 04:05:59 +0000
committerChris Lattner <sabre@nondot.org>2007-04-28 04:05:59 +0000
commitb01731812284e5396dcb6dd3b0eae769fcaed6d1 (patch)
tree254b806c3a09f1073193323c1452251e9ecda3af /lib
parent53c22fc7c6127ba7482e42522655bf09cfdc14f9 (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index ac3eedfa3a..4e57a7b36a 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!");