Skip to content

Commit e751a4e

Browse files
authored
Fix (yet another) incredibly silly mistake for OxCaml frametable printing (#25)
1 parent 84912ae commit e751a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/AsmPrinter/OxCamlGCPrinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ bool OxCamlGCMetadataPrinter::emitStackMaps(Module &M, StackMaps &SM, AsmPrinter
207207
// Stack offset from OxCaml (in case LLVM says we have dynamic objects)
208208
// This will get set to UINT64_MAX in `StackMaps.recordStackMapOpers` if
209209
// that is the case.
210-
if (CSI.CSFunctionInfo.StackSize != UINT64_MAX) {
210+
if (CSI.CSFunctionInfo.StackSize == UINT64_MAX) {
211211
FrameSize += stackOffsetOfID(CSI.ID);
212212
}
213213

0 commit comments

Comments
 (0)