Skip to content

Commit 5d80926

Browse files
committed
fix incredibly silly mistake
1 parent 3143a77 commit 5d80926

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.FrameSize != UINT64_MAX) {
210+
if (CSI.CSFunctionInfo.StackSize != UINT64_MAX) {
211211
FrameSize += stackOffsetOfID(CSI.ID);
212212
}
213213

0 commit comments

Comments
 (0)