diff options
Diffstat (limited to 'backend/lib/CodeGen/MIRPrinter.cpp')
| -rw-r--r-- | backend/lib/CodeGen/MIRPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/lib/CodeGen/MIRPrinter.cpp b/backend/lib/CodeGen/MIRPrinter.cpp index 3708053..2a6ddb4 100644 --- a/backend/lib/CodeGen/MIRPrinter.cpp +++ b/backend/lib/CodeGen/MIRPrinter.cpp @@ -493,7 +493,7 @@ MIRDocumentPrinter::createBodyContext(const MachineFunction &Function) const { std::uint32_t FixedID = 0; for (const StackObject &Object : Function.frameInfo().objects()) { const StackObjectDesc *Description = Object.description(); - if (Description == nullptr) + if (Description == nullptr || Description->IsDead) continue; MIFrameObjectSlot Slot{ .TextID = Object.isFixed() ? FixedID++ : StackID++, |
