diff options
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index f1afeb9..27e9087 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -966,19 +966,19 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) { case Intrinsic::dbg_stoppoint: { MachineDebugInfo *DebugInfo = DAG.getMachineDebugInfo(); - if (DebugInfo && DebugInfo->Verify(I.getOperand(4))) { + if (DebugInfo && DebugInfo->Verify(I.getOperand(3))) { std::vector<SDOperand> Ops; // Input Chain Ops.push_back(getRoot()); // line number - Ops.push_back(getValue(I.getOperand(2))); + Ops.push_back(getValue(I.getOperand(1))); // column - Ops.push_back(getValue(I.getOperand(3))); + Ops.push_back(getValue(I.getOperand(2))); - DebugInfoDesc *DD = DebugInfo->getDescFor(I.getOperand(4)); + DebugInfoDesc *DD = DebugInfo->getDescFor(I.getOperand(3)); assert(DD && "Not a debug information descriptor"); CompileUnitDesc *CompileUnit = dyn_cast<CompileUnitDesc>(DD); assert(CompileUnit && "Not a compile unit"); |