[llvm-commits] CVS: llvm/lib/VMCore/IntrinsicInst.cpp

Jim Laskey jlaskey at apple.com
Fri Jun 16 16:36:24 PDT 2006



Changes in directory llvm/lib/VMCore:

IntrinsicInst.cpp updated: 1.6 -> 1.7
---
Log message:

Forgot operands were hard coded for compile unit.


---
Diffs of the changes:  (+2 -2)

 IntrinsicInst.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/VMCore/IntrinsicInst.cpp
diff -u llvm/lib/VMCore/IntrinsicInst.cpp:1.6 llvm/lib/VMCore/IntrinsicInst.cpp:1.7
--- llvm/lib/VMCore/IntrinsicInst.cpp:1.6	Wed Jun  7 17:00:26 2006
+++ llvm/lib/VMCore/IntrinsicInst.cpp	Fri Jun 16 18:36:12 2006
@@ -61,13 +61,13 @@
 std::string DbgStopPointInst::getFileName() const {
   GlobalVariable *GV = cast<GlobalVariable>(getContext());
   ConstantStruct *CS = cast<ConstantStruct>(GV->getInitializer());
-  return CS->getOperand(4)->getStringValue();
+  return CS->getOperand(3)->getStringValue();
 }
 
 std::string DbgStopPointInst::getDirectory() const {
   GlobalVariable *GV = cast<GlobalVariable>(getContext());
   ConstantStruct *CS = cast<ConstantStruct>(GV->getInitializer());
-  return CS->getOperand(5)->getStringValue();
+  return CS->getOperand(4)->getStringValue();
 }
 
 //===----------------------------------------------------------------------===//






More information about the llvm-commits mailing list