File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,8 @@ class alignas(1 << TypeAlignInBits) TypeBase {
289
289
290
290
// / Extra information which affects how the function is called, like
291
291
// / regparm and the calling convention.
292
- unsigned ExtInfo : 7 ; enum { NumExtInfoBits = 7 };
292
+ enum { NumExtInfoBits = 7 };
293
+ unsigned ExtInfo : NumExtInfoBits;
293
294
};
294
295
enum { NumAnyFunctionTypeBits = NumTypeBaseBits + 7 };
295
296
static_assert (NumAnyFunctionTypeBits <= 32 , " fits in an unsigned" );
@@ -316,7 +317,8 @@ class alignas(1 << TypeAlignInBits) TypeBase {
316
317
317
318
struct SILFunctionTypeBitfields {
318
319
unsigned : NumTypeBaseBits;
319
- unsigned ExtInfo : 6 ; enum { NumExtInfoBits = 6 };
320
+ enum { NumExtInfoBits = 6 };
321
+ unsigned ExtInfo : NumExtInfoBits;
320
322
unsigned CalleeConvention : 3 ;
321
323
unsigned HasErrorResult : 1 ;
322
324
unsigned CoroutineKind : 2 ;
You can’t perform that action at this time.
0 commit comments