diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-01-04 13:42:59 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-01-04 13:42:59 +0000 |
commit | 6f9ff633a6eccc4b3d17a8c20cd8cbbfb43a2a2f (patch) | |
tree | e2f72af877560a51f80b091b902c80e204df471a /llvm/lib/CodeGen | |
parent | 9744c6292b2c8db06a0d2115ca813515bcc8ed8a (diff) | |
download | bcm5719-llvm-6f9ff633a6eccc4b3d17a8c20cd8cbbfb43a2a2f.tar.gz bcm5719-llvm-6f9ff633a6eccc4b3d17a8c20cd8cbbfb43a2a2f.zip |
Change how MachineDebugInfo is fetched.
llvm-svn: 25089
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 1d9dd5c2c89..af2c4ba1398 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/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().getDebugInfo(); + MachineDebugInfo &DebugInfo = getMachineDebugInfo(); std::vector<SDOperand> Ops; Ops.push_back(Tmp1); // chain Ops.push_back(Node->getOperand(1)); // line # |