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 {
459459 virtual TypeLayoutEntry
460460 *buildTypeLayoutEntry (IRGenModule &IGM,
461461 SILType T,
462- bool useStructLayouts = false ) const = 0;
462+ bool useStructLayouts) const = 0;
463463
464464 virtual bool isSingleRetainablePointer (ResilienceExpansion expansion,
465465 ReferenceCounting *rc) const {
Original file line number Diff line number Diff line change @@ -1015,7 +1015,7 @@ class IRGenModule {
10151015 CanSILFunctionType funcTy);
10161016
10171017 const TypeLayoutEntry
1018- &getTypeLayoutEntry (SILType T, bool useStructLayouts = false );
1018+ &getTypeLayoutEntry (SILType T, bool useStructLayouts);
10191019
10201020 const clang::ASTContext &getClangASTContext () {
10211021 assert (ClangASTContext &&
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ class SingleScalarTypeInfoWithTypeLayout
254254 TypeLayoutEntry *
255255 buildTypeLayoutEntry (IRGenModule &IGM,
256256 SILType T,
257- bool useStructLayouts = false ) const override {
257+ bool useStructLayouts) const override {
258258 if (!useStructLayouts) {
259259 return IGM.typeLayoutCache .getOrCreateTypeInfoBasedEntry (*this , T);
260260 }
Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ class TypeInfo {
325325 virtual TypeLayoutEntry
326326 *buildTypeLayoutEntry (IRGenModule &IGM,
327327 SILType T,
328- bool useStructLayouts = false ) const = 0;
328+ bool useStructLayouts) const = 0;
329329
330330 // / Allocate a variable of this type on the stack.
331331 virtual StackAddress allocateStack (IRGenFunction &IGF, SILType T,
Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ def __init__(self):
154154 ['@objc thunk' , re .compile (r'@objc' )],
155155 ['@nonobjc thunk' , re .compile (r'@nonobjc' )],
156156 ['Value witness' , re .compile (r'.*value witness for' )],
157+ ['Type layout string' , re .compile (r'.*type_layout_string' )],
157158 ['Block copy helper' , re .compile (r'_block_copy_helper' )],
158159 ['Block destroy helper' , re .compile (r'_block_destroy_helper' )],
159160 ['Block literal global' , re .compile (r'___block_literal_global' )],
You can’t perform that action at this time.
0 commit comments