diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-20 11:56:38 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-20 11:56:38 +0000 |
commit | 0905072b3ccfcb394b1dca2405a55cff4e2b9271 (patch) | |
tree | c7c6f87ecf257c4e7b6a92355e75030165731371 /compiler_and_linker/unsorted/CMachine.c | |
parent | 7d986adf37220e1981a707745b784b078de4e3bc (diff) | |
download | MWCC-0905072b3ccfcb394b1dca2405a55cff4e2b9271.tar.gz MWCC-0905072b3ccfcb394b1dca2405a55cff4e2b9271.zip |
tons more renaming of stuff
Diffstat (limited to 'compiler_and_linker/unsorted/CMachine.c')
-rw-r--r-- | compiler_and_linker/unsorted/CMachine.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/compiler_and_linker/unsorted/CMachine.c b/compiler_and_linker/unsorted/CMachine.c index eff2243..bfa7023 100644 --- a/compiler_and_linker/unsorted/CMachine.c +++ b/compiler_and_linker/unsorted/CMachine.c @@ -1268,26 +1268,26 @@ SInt32 CMach_StructLayoutBitfield(TypeBitfield *tbitfield, UInt32 qual) { if (!cmach_curbfsize) { cmach_structoffset += padding_at_start; - if (!tbitfield->unkB) + if (!tbitfield->bitlength) return cmach_structoffset; - cmach_curbfsize = tbitfield->unkB; + cmach_curbfsize = tbitfield->bitlength; cmach_curbfbasesize = basesize; cmach_curbfoffset = cmach_structoffset; cmach_structoffset += basesize; - tbitfield->unkA = 0; + tbitfield->offset = 0; return cmach_curbfoffset; } else { - if (!tbitfield->unkB || (cmach_curbfsize + tbitfield->unkB) > basesize_bits || cmach_curbfbasesize != basesize) { + if (!tbitfield->bitlength || (cmach_curbfsize + tbitfield->bitlength) > basesize_bits || cmach_curbfbasesize != basesize) { cmach_structoffset += padding_at_start; cmach_curbfsize = 0; cmach_curbfbasesize = basesize; - if (!tbitfield->unkB) + if (!tbitfield->bitlength) return cmach_structoffset; cmach_curbfoffset = cmach_structoffset; cmach_structoffset += basesize; } - tbitfield->unkA = cmach_curbfsize; - cmach_curbfsize += tbitfield->unkB; + tbitfield->offset = cmach_curbfsize; + cmach_curbfsize += tbitfield->bitlength; return cmach_curbfoffset; } } |