From ce91ec285d89867f2048f93f31da198a227bba7a Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 11 Oct 2008 06:40:56 +0000 Subject: Unbreak DbgStopPointInst::getFileName(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57373 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/IntrinsicInst.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/VMCore') diff --git a/lib/VMCore/IntrinsicInst.cpp b/lib/VMCore/IntrinsicInst.cpp index 312a47f..c440275 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 { -- cgit v1.1