projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c26101
)
Unbreak DbgStopPointInst::getFileName().
author
Daniel Dunbar
<daniel@zuster.org>
Sat, 11 Oct 2008 06:40:56 +0000
(06:40 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Sat, 11 Oct 2008 06:40:56 +0000
(06:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57373
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/IntrinsicInst.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/IntrinsicInst.cpp
b/lib/VMCore/IntrinsicInst.cpp
index 312a47f2c70c3e8f94a3172a898185b5966ad4ec..c440275fc3a09673cede716086306f8df7dd3ffe 100644
(file)
--- 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 {