Skip to content

Commit 82f585b

Browse files
Merge pull request #11010 from aschwaighofer/remove_dead_cow_existential_config_code
Cleanup dead configuration code for copy-on-write existentials
2 parents 2dbae8e + f2c8c2a commit 82f585b

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,6 @@ function(_add_variant_c_compile_flags)
265265
"-I${SWIFT_ANDROID_NDK_PATH}/sources/android/support/include")
266266
endif()
267267

268-
if(SWIFT_RUNTIME_ENABLE_COW_EXISTENTIALS)
269-
list(APPEND result "-DSWIFT_RUNTIME_ENABLE_COW_EXISTENTIALS=1")
270-
endif()
271-
272268
set("${CFLAGS_RESULT_VAR_NAME}" "${result}" PARENT_SCOPE)
273269
endfunction()
274270

include/swift/Option/FrontendOptions.td

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,6 @@ def disable_deserialization_recovery :
286286
Flag<["-"], "disable-deserialization-recovery">,
287287
HelpText<"Don't attempt to recover from missing xrefs (etc) in swiftmodules">;
288288

289-
def enable_cow_existentials : Flag<["-"], "enable-cow-existentials">,
290-
HelpText<"Enable the copy-on-write existential implementation">;
291-
292289
def disable_availability_checking : Flag<["-"],
293290
"disable-availability-checking">,
294291
HelpText<"Disable checking for potentially unavailable APIs">;

test/IRGen/existentials_opaque_boxed.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend -enable-cow-existentials -assume-parsing-unqualified-ownership-sil %s -emit-ir | %FileCheck %s
1+
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil %s -emit-ir | %FileCheck %s
22

33
sil_stage canonical
44

utils/build-script-impl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ KNOWN_SETTINGS=(
252252
coverage-db "" "If set, coverage database to use when prioritizing testing"
253253
build-toolchain-only "" "If set, only build the necessary tools to build an external toolchain"
254254
skip-local-host-install "" "If we are cross-compiling multiple targets, skip an install pass locally if the hosts match"
255-
swift-runtime-enable-cow-existentials "1" "Enable the copy-on-write existential implementation"
256255
)
257256

258257
# Centralized access point for traced command invocation.

0 commit comments

Comments
 (0)