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:
f667480
)
Use a simpler but equivalent form of RecordSource.
author
Dan Gohman
<gohman@apple.com>
Mon, 30 Jun 2008 22:21:03 +0000
(22:21 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 30 Jun 2008 22:21:03 +0000
(22:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52931
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index c0b0e0356f33e75ba1c3798a09e40f5854c3967d..dc4dcc92a218efac414f5b965e8b7f4ec208ab6d 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-3210,8
+3210,7
@@
SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
assert(DD && "Not a debug information descriptor");
SubprogramDesc *Subprogram = cast<SubprogramDesc>(DD);
const CompileUnitDesc *CompileUnit = Subprogram->getFile();
- unsigned SrcFile = MMI->RecordSource(CompileUnit->getDirectory(),
- CompileUnit->getFileName());
+ unsigned SrcFile = MMI->RecordSource(CompileUnit);
// Record the source line but does create a label. It will be emitted
// at asm emission time.
MMI->RecordSourceLine(Subprogram->getLine(), 0, SrcFile);