From: Daniel Dunbar Date: Sat, 11 Oct 2008 06:40:56 +0000 (+0000) Subject: Unbreak DbgStopPointInst::getFileName(). X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ce91ec285d89867f2048f93f31da198a227bba7a;p=oota-llvm.git Unbreak DbgStopPointInst::getFileName(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57373 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/IntrinsicInst.cpp b/lib/VMCore/IntrinsicInst.cpp index 312a47f2c70..c440275fc3a 100644 --- a/lib/VMCore/IntrinsicInst.cpp +++ b/lib/VMCore/IntrinsicInst.cpp @@ -64,7 +64,7 @@ Value *DbgStopPointInst::getFileName() const { GlobalVariable *GV = cast(getContext()); if (!GV->hasInitializer()) return NULL; ConstantStruct *CS = cast(GV->getInitializer()); - return CS->getOperand(4); + return CS->getOperand(3); } Value *DbgStopPointInst::getDirectory() const {