Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/AsmPrinter/OxCamlGCPrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ bool OxCamlGCMetadataPrinter::emitStackMaps(Module &M, StackMaps &SM, AsmPrinter
// Stack offset from OxCaml (in case LLVM says we have dynamic objects)
// This will get set to UINT64_MAX in `StackMaps.recordStackMapOpers` if
// that is the case.
if (CSI.CSFunctionInfo.StackSize != UINT64_MAX) {
if (CSI.CSFunctionInfo.StackSize == UINT64_MAX) {
FrameSize += stackOffsetOfID(CSI.ID);
}

Expand Down