[llvm-commits] [llvm] r57373 - /llvm/trunk/lib/VMCore/IntrinsicInst.cpp
Daniel Dunbar
daniel at zuster.org
Fri Oct 10 23:40:57 PDT 2008
Author: ddunbar
Date: Sat Oct 11 01:40:56 2008
New Revision: 57373
URL: http://llvm.org/viewvc/llvm-project?rev=57373&view=rev
Log:
Unbreak DbgStopPointInst::getFileName().
Modified:
llvm/trunk/lib/VMCore/IntrinsicInst.cpp
Modified: llvm/trunk/lib/VMCore/IntrinsicInst.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/IntrinsicInst.cpp?rev=57373&r1=57372&r2=57373&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/IntrinsicInst.cpp (original)
+++ llvm/trunk/lib/VMCore/IntrinsicInst.cpp Sat Oct 11 01:40:56 2008
@@ -64,7 +64,7 @@
GlobalVariable *GV = cast<GlobalVariable>(getContext());
if (!GV->hasInitializer()) return NULL;
ConstantStruct *CS = cast<ConstantStruct>(GV->getInitializer());
- return CS->getOperand(4);
+ return CS->getOperand(3);
}
Value *DbgStopPointInst::getDirectory() const {
More information about the llvm-commits
mailing list