[llvm-commits] CVS: llvm/lib/Debugger/ProgramInfo.cpp
Jim Laskey
jlaskey at apple.com
Mon Mar 13 05:07:56 PST 2006
Changes in directory llvm/lib/Debugger:
ProgramInfo.cpp updated: 1.13 -> 1.14
---
Log message:
Handle the removal of the debug chain.
---
Diffs of the changes: (+3 -3)
ProgramInfo.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/Debugger/ProgramInfo.cpp
diff -u llvm/lib/Debugger/ProgramInfo.cpp:1.13 llvm/lib/Debugger/ProgramInfo.cpp:1.14
--- llvm/lib/Debugger/ProgramInfo.cpp:1.13 Wed Mar 8 12:11:07 2006
+++ llvm/lib/Debugger/ProgramInfo.cpp Mon Mar 13 07:07:37 2006
@@ -63,11 +63,11 @@
if (F->getIntrinsicID() == Intrinsic::dbg_stoppoint) {
unsigned CurLineNo = ~0, CurColNo = ~0;
const GlobalVariable *CurDesc = 0;
- if (const ConstantInt *C = dyn_cast<ConstantInt>(CI->getOperand(2)))
+ if (const ConstantInt *C = dyn_cast<ConstantInt>(CI->getOperand(1)))
CurLineNo = C->getRawValue();
- if (const ConstantInt *C = dyn_cast<ConstantInt>(CI->getOperand(3)))
+ if (const ConstantInt *C = dyn_cast<ConstantInt>(CI->getOperand(2)))
CurColNo = C->getRawValue();
- const Value *Op = CI->getOperand(4);
+ const Value *Op = CI->getOperand(3);
if ((CurDesc = dyn_cast<GlobalVariable>(Op)) &&
(LineNo < LastLineNo ||
More information about the llvm-commits
mailing list