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,
677677MachineInstr *
678678InstrEmitter::EmitDbgValue (SDDbgValue *SD,
679679 DenseMap<SDValue, Register> &VRBaseMap) {
680- MDNode *Var = SD->getVariable ();
681680 DebugLoc DL = SD->getDebugLoc ();
682- assert (cast<DILocalVariable>(Var)->isValidLocationForIntrinsic (DL) &&
681+ assert (cast<DILocalVariable>(SD->getVariable ())
682+ ->isValidLocationForIntrinsic (DL) &&
683683 " Expected inlined-at fields to agree" );
684684
685685 SD->setIsEmitted ();
686686
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?" );
689689
690690 if (SD->isInvalidated ())
691691 return EmitDbgNoLocation (SD);
You can’t perform that action at this time.
0 commit comments