summaryrefslogtreecommitdiff
path: root/lib/VMCore/IntrinsicInst.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-10-11 06:40:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-10-11 06:40:56 +0000
commitce91ec285d89867f2048f93f31da198a227bba7a (patch)
tree087aaf56945e48c31005796567a5033368e13a68 /lib/VMCore/IntrinsicInst.cpp
parent3c261016692314d907dbcdc70da1bf4a968436a9 (diff)
downloadllvm-ce91ec285d89867f2048f93f31da198a227bba7a.tar.gz
llvm-ce91ec285d89867f2048f93f31da198a227bba7a.tar.bz2
llvm-ce91ec285d89867f2048f93f31da198a227bba7a.tar.xz
Unbreak DbgStopPointInst::getFileName().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/IntrinsicInst.cpp')
-rw-r--r--lib/VMCore/IntrinsicInst.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/IntrinsicInst.cpp b/lib/VMCore/IntrinsicInst.cpp
index 312a47f2c7..c440275fc3 100644
--- a/lib/VMCore/IntrinsicInst.cpp
+++ b/lib/VMCore/IntrinsicInst.cpp
@@ -64,7 +64,7 @@ Value *DbgStopPointInst::getFileName() const {
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 {