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 | d94184395fe3134f6d521f0f4ef1ff70602d374b (patch) | |
| tree | b183fd5fffce28a132495d0e2f52adcc3cf26504 /llvm | |
| parent | fb1f4a13291bcdceb01bc29ca1c25f0370f9f4ef (diff) | |
| download | bcm5719-llvm-d94184395fe3134f6d521f0f4ef1ff70602d374b.tar.gz bcm5719-llvm-d94184395fe3134f6d521f0f4ef1ff70602d374b.zip | |
Unbreak DbgStopPointInst::getFileName().
llvm-svn: 57373
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/VMCore/IntrinsicInst.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/IntrinsicInst.cpp b/llvm/lib/VMCore/IntrinsicInst.cpp index 312a47f2c70..c440275fc3a 100644 --- a/llvm/lib/VMCore/IntrinsicInst.cpp +++ b/llvm/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 { |

