File tree Expand file tree Collapse file tree 5 files changed +5
-4
lines changed Expand file tree Collapse file tree 5 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ class EnumImplStrategy {
459
459
virtual TypeLayoutEntry
460
460
*buildTypeLayoutEntry (IRGenModule &IGM,
461
461
SILType T,
462
- bool useStructLayouts = false ) const = 0;
462
+ bool useStructLayouts) const = 0;
463
463
464
464
virtual bool isSingleRetainablePointer (ResilienceExpansion expansion,
465
465
ReferenceCounting *rc) const {
Original file line number Diff line number Diff line change @@ -1015,7 +1015,7 @@ class IRGenModule {
1015
1015
CanSILFunctionType funcTy);
1016
1016
1017
1017
const TypeLayoutEntry
1018
- &getTypeLayoutEntry (SILType T, bool useStructLayouts = false );
1018
+ &getTypeLayoutEntry (SILType T, bool useStructLayouts);
1019
1019
1020
1020
const clang::ASTContext &getClangASTContext () {
1021
1021
assert (ClangASTContext &&
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ class SingleScalarTypeInfoWithTypeLayout
254
254
TypeLayoutEntry *
255
255
buildTypeLayoutEntry (IRGenModule &IGM,
256
256
SILType T,
257
- bool useStructLayouts = false ) const override {
257
+ bool useStructLayouts) const override {
258
258
if (!useStructLayouts) {
259
259
return IGM.typeLayoutCache .getOrCreateTypeInfoBasedEntry (*this , T);
260
260
}
Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ class TypeInfo {
325
325
virtual TypeLayoutEntry
326
326
*buildTypeLayoutEntry (IRGenModule &IGM,
327
327
SILType T,
328
- bool useStructLayouts = false ) const = 0;
328
+ bool useStructLayouts) const = 0;
329
329
330
330
// / Allocate a variable of this type on the stack.
331
331
virtual StackAddress allocateStack (IRGenFunction &IGF, SILType T,
Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ def __init__(self):
154
154
['@objc thunk' , re .compile (r'@objc' )],
155
155
['@nonobjc thunk' , re .compile (r'@nonobjc' )],
156
156
['Value witness' , re .compile (r'.*value witness for' )],
157
+ ['Type layout string' , re .compile (r'.*type_layout_string' )],
157
158
['Block copy helper' , re .compile (r'_block_copy_helper' )],
158
159
['Block destroy helper' , re .compile (r'_block_destroy_helper' )],
159
160
['Block literal global' , re .compile (r'___block_literal_global' )],
You can’t perform that action at this time.
0 commit comments