Skip to content

Commit 7dfb18b

Browse files
authored
---
yaml --- r: 341981 b: refs/heads/rxwei-patch-1 c: da61cc8 h: refs/heads/master i: 341979: 99bbbbc
1 parent 9bc85ad commit 7dfb18b

File tree

13 files changed

+18
-239
lines changed

13 files changed

+18
-239
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-08-18-a: b10b1fce14385faa6d44f6b933e95
10151015
refs/heads/rdar-43033749-fix-batch-mode-no-diags-swift-5.0-branch: a14e64eaad30de89f0f5f0b2a782eed7ecdcb255
10161016
refs/heads/revert-19006-error-bridging-integer-type: 8a9065a3696535305ea53fe9b71f91cbe6702019
10171017
refs/heads/revert-19050-revert-19006-error-bridging-integer-type: ecf752d54b05dd0a20f510f0bfa54a3fec3bcaca
1018-
refs/heads/rxwei-patch-1: 06f82a53b5da26b67a8fd9414d8f8877eca8a3e1
1018+
refs/heads/rxwei-patch-1: da61cc8cdf7aa2bfb3ab03200c52c4d371dc6751
10191019
refs/heads/shahmishal-patch-1: e58ec0f7488258d42bef51bc3e6d7b3dc74d7b2a
10201020
refs/heads/typelist-existential: 4046359efd541fb5c72d69a92eefc0a784df8f5e
10211021
refs/tags/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-20-a: 4319ba09e4fb8650ee86061075c74a016b6baab9

branches/rxwei-patch-1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Please make sure you use Python 2.x. Python 3.x is not supported currently.
7676

7777
#### macOS
7878

79-
To build for macOS, you need [Xcode 11 beta](https://developer.apple.com/xcode/downloads/).
79+
To build for macOS, you need [Xcode 11 beta 4](https://developer.apple.com/xcode/downloads/).
8080
The required version of Xcode changes frequently, and is often a beta release.
8181
Check this document or the host information on <https://ci.swift.org> for the
8282
current required version.

branches/rxwei-patch-1/lib/IRGen/MetadataRequest.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -642,11 +642,6 @@ static MetadataResponse emitNominalMetadataRef(IRGenFunction &IGF,
642642
bool irgen::isTypeMetadataAccessTrivial(IRGenModule &IGM, CanType type) {
643643
assert(!type->hasArchetype());
644644

645-
// Support dynamically replacing opaque result types. Don't cache the
646-
// accessor result.
647-
if (!IGM.getOptions().shouldOptimize() && type->hasOpaqueArchetype())
648-
return true;
649-
650645
// Value type metadata only requires dynamic initialization on first
651646
// access if it contains a resilient type.
652647
if (isa<StructType>(type) || isa<EnumType>(type)) {
@@ -1489,6 +1484,7 @@ void irgen::emitCacheAccessFunction(IRGenModule &IGM,
14891484

14901485
// If the load yielded null, emit the type metadata.
14911486
IGF.Builder.emitBlock(isNullBB);
1487+
14921488
MetadataResponse response = getValue(IGF, parameters);
14931489

14941490
// Ensure that we have a dynamically-correct state value.

branches/rxwei-patch-1/test/Driver/static-stdlib.swift

Lines changed: 0 additions & 12 deletions
This file was deleted.

branches/rxwei-patch-1/test/IRGen/opaque_result_type.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ public func useFoo(x: String, y: C) {
161161
}
162162

163163
// CHECK-LABEL: define {{.*}} @"$s18opaque_result_type6useFoo1x1yySS_AA1CCtF"
164-
// CHECK: [[CONFORMANCE:%.*]] = call swiftcc i8** @swift_getOpaqueTypeConformance(i8* {{.*}}, %swift.type_descriptor* {{.*}}s18opaque_result_type3baz1zQrx_tAA1PRzAA1QRzlFQOMQ{{.*}}, [[WORD:i32|i64]] 2)
165-
// CHECK: [[MD:%.*]] = call swiftcc %swift.metadata_response @swift_getOpaqueTypeMetadata([[WORD]] 255, i8* {{.*}}, %swift.type_descriptor* {{.*}}s18opaque_result_type3baz1zQrx_tAA1PRzAA1QRzlFQOMQ{{.*}})
164+
// CHECK: [[CONFORMANCE:%.*]] = call swiftcc i8** @swift_getOpaqueTypeConformance(i8* {{.*}}, %swift.type_descriptor* {{.*}}s18opaque_result_type3baz1zQrx_tAA1PRzAA1QRzlFQOMQ{{.*}}, [[WORD:i32|i64]] 1)
165+
// CHECK: [[MD:%.*]] = call swiftcc %swift.metadata_response @"$s18opaque_result_type3baz1zQrx_tAA1PRzAA1QRzlFQOyAA1CCQo_Ma"
166166
// CHECK: [[TYPE:%.*]] = extractvalue %swift.metadata_response [[MD]], 0
167-
// CHECK: call swiftcc %swift.metadata_response @swift_getAssociatedTypeWitness([[WORD]] 0, i8** [[CONFORMANCE]], %swift.type* [[TYPE]]
167+
// CHECK: call swiftcc i8** @swift_getAssociatedConformanceWitness(i8** [[CONFORMANCE]], %swift.type* [[TYPE]]
168168

169169
// CHECK-LABEL: define {{.*}} @"$sSS18opaque_result_type1PAA1AAaBP_AA1OPWT"
170170
// CHECK: call swiftcc i8** @swift_getOpaqueTypeConformance(i8* {{.*}}, %swift.type_descriptor* {{.*}}sSS18opaque_result_typeE3pooQryFQOMQ{{.*}}, [[WORD]] 1)

branches/rxwei-patch-1/test/Interpreter/Inputs/dynamic_replacement_opaque1.swift

Lines changed: 0 additions & 61 deletions
This file was deleted.

branches/rxwei-patch-1/test/Interpreter/Inputs/dynamic_replacement_opaque2.swift

Lines changed: 0 additions & 53 deletions
This file was deleted.

branches/rxwei-patch-1/test/Interpreter/dynamic_replacement_opaque_result.swift

Lines changed: 0 additions & 91 deletions
This file was deleted.

branches/rxwei-patch-1/test/SourceKit/CompileNotifications/code-completion.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %sourcekitd-test -req=track-compiles == -req=complete %s -offset=0 -- %s | %FileCheck %s -check-prefix=COMPILE_1
1+
// RUN: %sourcekitd-test -req=track-compiles == -req=complete %s -offset=0 -- %s | %FileCheck %s -check-prefix=COMPILE_1 --enable-yaml-compatibility
22
// COMPILE_1: {
33
// COMPILE_1: key.notification: source.notification.compile-will-start,
44
// COMPILE_1: key.filepath: "{{.*}}SOURCE_DIR{{.*}}code-completion.swift",

branches/rxwei-patch-1/test/SourceKit/CompileNotifications/cursor-info.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %sourcekitd-test -req=track-compiles == -req=cursor %s -offset=0 -- %s | %FileCheck %s -check-prefix=COMPILE_1
1+
// RUN: %sourcekitd-test -req=track-compiles == -req=cursor %s -offset=0 -- %s | %FileCheck %s -check-prefix=COMPILE_1 --enable-yaml-compatibility
22
// COMPILE_1: {
33
// COMPILE_1: key.notification: source.notification.compile-will-start,
44
// COMPILE_1: key.filepath: "SOURCE_DIR{{.*}}cursor-info.swift",

branches/rxwei-patch-1/test/SourceKit/CompileNotifications/enable-disable.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
// NONE-NOT: compile-did-finish
77

88

9-
// RUN: %sourcekitd-test -req=track-compiles == -req=sema %s -- %s | %FileCheck %s -check-prefix=COMPILE_1
10-
// RUN: %sourcekitd-test -req=track-compiles == -req=track-compiles == -req=sema %s -- %s | %FileCheck %s -check-prefix=COMPILE_1
9+
// RUN: %sourcekitd-test -req=track-compiles == -req=sema %s -- %s | %FileCheck %s -check-prefix=COMPILE_1 --enable-yaml-compatibility
10+
// RUN: %sourcekitd-test -req=track-compiles == -req=track-compiles == -req=sema %s -- %s | %FileCheck %s -check-prefix=COMPILE_1 --enable-yaml-compatibility
1111
// RUN: %sourcekitd-test -req=track-compiles \
1212
// RUN: == -req=sema %s -- %s \
1313
// RUN: == -req=track-compiles -req-opts=value=0 \
14-
// RUN: == -req=edit %s -replace="//" | %FileCheck %s -check-prefix=COMPILE_1
14+
// RUN: == -req=edit %s -replace="//" | %FileCheck %s -check-prefix=COMPILE_1 --enable-yaml-compatibility
1515
// RUN: %sourcekitd-test -req=sema %s -- %s \
1616
// RUN: == -req=track-compiles -req-opts=value=1 \
17-
// RUN: == -req=edit %s -replace="//" | %FileCheck %s -check-prefix=COMPILE_1
17+
// RUN: == -req=edit %s -replace="//" | %FileCheck %s -check-prefix=COMPILE_1 --enable-yaml-compatibility
1818
// COMPILE_1: {
1919
// COMPILE_1: key.notification: source.notification.compile-will-start,
2020
// COMPILE_1: key.filepath: "SOURCE_DIR{{.*}}enable-disable.swift",

branches/rxwei-patch-1/test/SourceKit/CompileNotifications/type-context-info.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// RUN: %sourcekitd-test -req=track-compiles == -req=typecontextinfo %s -offset=0 -- %s | %FileCheck %s -check-prefix=COMPILE_1
1+
// RUN: %sourcekitd-test -req=track-compiles == -req=typecontextinfo %s -offset=0 -- %s | %FileCheck %s -check-prefix=COMPILE_1 --enable-yaml-compatibility
22
// COMPILE_1: {
33
// COMPILE_1: key.notification: source.notification.compile-will-start,
4-
// COMPILE_1: key.filepath: "SOURCE_DIR{{.*}}type-context-info.swift",
4+
// COMPILE_1: key.filepath: "{{.*}}SOURCE_DIR{{.*}}type-context-info.swift",
55
// COMPILE_1: key.compileid: [[CID1:".*"]]
66
// COMPILE_1: }
77
// COMPILE_1: {

branches/rxwei-patch-1/test/lit.cfg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ def get_simulator_command(run_os, run_cpu, sdk_path):
116116
print("INFO: Xcode -> Preferences -> Components -> Simulators")
117117
sys.exit(1)
118118
else:
119-
return "simctl spawn 'iPhone 5'"
119+
return "simctl spawn --standalone 'iPhone 5'"
120120
else:
121-
return "simctl spawn 'iPhone Xs'"
121+
return "simctl spawn --standalone 'iPhone Xs'"
122122
elif run_os == 'tvos':
123-
return "simctl spawn 'Apple TV 4K'"
123+
return "simctl spawn --standalone 'Apple TV 4K'"
124124
elif run_os == 'watchos':
125-
return "simctl spawn 'Apple Watch Series 3 - 38mm'"
125+
return "simctl spawn --standalone 'Apple Watch Series 3 - 38mm'"
126126
else:
127127
lit_config.fatal("Unknown simulator OS %r" % run_os)
128128

0 commit comments

Comments
 (0)