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:
292a1af
)
Change how MachineDebugInfo is fetched.
author
Jim Laskey
<jlaskey@mac.com>
Wed, 4 Jan 2006 13:42:59 +0000
(13:42 +0000)
committer
Jim Laskey
<jlaskey@mac.com>
Wed, 4 Jan 2006 13:42:59 +0000
(13:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25089
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 1d9dd5c2c890ae0bc79eff2d910cd0288ca2efb6..af2c4ba13989fe563b494df6b876617b4bee0275 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-619,7
+619,7
@@
SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
default: assert(0 && "This action is not supported yet!");
case TargetLowering::Expand: {
if (TLI.isOperationLegal(ISD::DEBUG_LOC, MVT::Other)) {
- MachineDebugInfo &DebugInfo =
DAG.getMachineFunction().get
DebugInfo();
+ MachineDebugInfo &DebugInfo =
getMachine
DebugInfo();
std::vector<SDOperand> Ops;
Ops.push_back(Tmp1); // chain
Ops.push_back(Node->getOperand(1)); // line #