Skip to content

Commit d484a9c

Browse files
committed
Enable serialization of witness tables by default
Now that we remove the [serialized] flag from functions after their early serialization, we can run another round of optimizations on them. Due to this change, it should be OK to serialize witness tables now because marking the witness methods [serialized] does not affect how well they can be optimized.
1 parent b571dd8 commit d484a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/SILOptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class SILOptions {
154154
///
155155
/// It is supposed to be used only for compiling overlays.
156156
/// User code should never be compiled with this flag set.
157-
bool SILSerializeWitnessTables = false;
157+
bool SILSerializeWitnessTables = true;
158158

159159
/// If set, SIL vtables will be serialized.
160160
///

0 commit comments

Comments
 (0)