Skip to content

Commit 62ca8f3

Browse files
authored
Merge pull request #3564 from swiftwasm/main
2 parents f48f291 + fef225c commit 62ca8f3

File tree

60 files changed

+1419
-493
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1419
-493
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ _**Note:** This is in reverse chronological order, so newer entries are added to
55

66
Swift 5.6
77
---------
8+
89
* [SE-0315][]:
910

1011
Type expressions and annotations can now include "type placeholders" which
@@ -34,6 +35,8 @@ Swift 5.6
3435
Swift 5.5
3536
---------
3637

38+
### 2021-09-20 (Xcode 13.0)
39+
3740
* [SE-0313][]:
3841

3942
Parameters of actor type can be declared as `isolated`, which means that they

include/swift-c/DependencyScan/DependencyScan.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ typedef struct {
4949
} swiftscan_string_set_t;
5050

5151
typedef enum {
52+
// This dependency info encodes two ModuleDependencyKind types:
53+
// SwiftInterface and SwiftSource.
5254
SWIFTSCAN_DEPENDENCY_INFO_SWIFT_TEXTUAL = 0,
5355
SWIFTSCAN_DEPENDENCY_INFO_SWIFT_BINARY = 1,
5456
SWIFTSCAN_DEPENDENCY_INFO_SWIFT_PLACEHOLDER = 2,

include/swift/AST/DiagnosticsParse.def

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,12 @@ ERROR(expected_sil_tuple_index,none,
500500
ERROR(invalid_index_subset,none,
501501
"invalid index subset; expected '[SU]+' where 'S' represents set indices "
502502
"and 'U' represents unset indices", ())
503+
ERROR(sil_invalid_attribute_for_instruction,none,
504+
"The attribute '%0' is invalid for the instruction '%1'.",
505+
(StringRef, StringRef))
506+
ERROR(sil_invalid_attribute_for_expected,none,
507+
"Invalid attribute '%0' (expected '%1').",
508+
(StringRef, StringRef))
503509

504510
// SIL Values
505511
ERROR(sil_value_redefinition,none,

include/swift/AST/DiagnosticsSema.def

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,10 @@ ERROR(serialization_module_too_old,Fatal,
766766
"compiled module was created by an older version of the compiler; "
767767
"rebuild %0 and try again: %1",
768768
(Identifier, StringRef))
769+
ERROR(serialization_module_incompatible_revision,Fatal,
770+
"compiled module was created by a different version of the compiler; "
771+
"rebuild %0 and try again: %1",
772+
(Identifier, StringRef))
769773
ERROR(serialization_missing_single_dependency,Fatal,
770774
"missing required module '%0'", (StringRef))
771775
ERROR(serialization_missing_dependencies,Fatal,

include/swift/AST/IRGenOptions.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,10 @@ class IRGenOptions {
355355

356356
unsigned VirtualFunctionElimination : 1;
357357

358+
unsigned WitnessMethodElimination : 1;
359+
360+
unsigned InternalizeAtLink : 1;
361+
358362
/// The number of threads for multi-threaded code generation.
359363
unsigned NumThreads = 0;
360364

@@ -414,6 +418,7 @@ class IRGenOptions {
414418
DisableRoundTripDebugTypes(false), DisableDebuggerShadowCopies(false),
415419
DisableConcreteTypeMetadataMangledNameAccessors(false),
416420
EnableGlobalISel(false), VirtualFunctionElimination(false),
421+
WitnessMethodElimination(false), InternalizeAtLink(false),
417422
CmdArgs(),
418423
SanitizeCoverage(llvm::SanitizerCoverageOptions()),
419424
TypeInfoFilter(TypeInfoDumpFilter::All) {}

0 commit comments

Comments
 (0)