mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
AsmPrinter: Store MDExpression directly instead of MDNode, NFC
Clean up `DebugLocEntry::Value::Expression`'s type while I'm messing around in here anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235203 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -733,7 +733,7 @@ void DwarfDebug::collectVariableInfoFromMMITable(
|
||||
|
||||
// Get .debug_loc entry for the instruction range starting at MI.
|
||||
static DebugLocEntry::Value getDebugLocValue(const MachineInstr *MI) {
|
||||
const MDNode *Expr = MI->getDebugExpression();
|
||||
const MDExpression *Expr = MI->getDebugExpression();
|
||||
|
||||
assert(MI->getNumOperands() == 4);
|
||||
if (MI->getOperand(0).isReg()) {
|
||||
|
||||
Reference in New Issue
Block a user