diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-10-11 06:40:56 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-10-11 06:40:56 +0000 |
commit | ce91ec285d89867f2048f93f31da198a227bba7a (patch) | |
tree | 087aaf56945e48c31005796567a5033368e13a68 /lib/VMCore | |
parent | 3c261016692314d907dbcdc70da1bf4a968436a9 (diff) | |
download | external_llvm-ce91ec285d89867f2048f93f31da198a227bba7a.zip external_llvm-ce91ec285d89867f2048f93f31da198a227bba7a.tar.gz external_llvm-ce91ec285d89867f2048f93f31da198a227bba7a.tar.bz2 |
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')
-rw-r--r-- | lib/VMCore/IntrinsicInst.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<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 { |