mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
Change how MachineDebugInfo is fetched.
llvm-svn: 25089
This commit is contained in:
parent
c8681a0c43
commit
1b0399e8f0
@ -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 #
|
||||
|
Loading…
Reference in New Issue
Block a user