File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
llvm/lib/CodeGen/SelectionDAG Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -677,15 +677,15 @@ void InstrEmitter::EmitRegSequence(SDNode *Node,
677
677
MachineInstr *
678
678
InstrEmitter::EmitDbgValue (SDDbgValue *SD,
679
679
DenseMap<SDValue, Register> &VRBaseMap) {
680
- MDNode *Var = SD->getVariable ();
681
680
DebugLoc DL = SD->getDebugLoc ();
682
- assert (cast<DILocalVariable>(Var)->isValidLocationForIntrinsic (DL) &&
681
+ assert (cast<DILocalVariable>(SD->getVariable ())
682
+ ->isValidLocationForIntrinsic (DL) &&
683
683
" Expected inlined-at fields to agree" );
684
684
685
685
SD->setIsEmitted ();
686
686
687
- ArrayRef<SDDbgOperand> LocationOps = SD->getLocationOps ();
688
- assert (!LocationOps. empty () && " dbg_value with no location operands?" );
687
+ assert (! SD->getLocationOps (). empty () &&
688
+ " dbg_value with no location operands?" );
689
689
690
690
if (SD->isInvalidated ())
691
691
return EmitDbgNoLocation (SD);
You can’t perform that action at this time.
0 commit comments