[Concurrency] Remove asyncHandler attribute.

The `asyncHandler` attribute turned out to be the wrong solution
to the problem of creating a sync->async bridge. Remove it.
This commit is contained in:
Doug Gregor
2021-05-13 17:01:39 -07:00
parent 3823966e01
commit 2b9ca315fe
39 changed files with 33 additions and 713 deletions

View File

@@ -1,11 +1,6 @@
// REQUIRES: VENDOR=apple
// REQUIRES: concurrency
// RUN: %target-swift-frontend -emit-ir %s -enable-experimental-concurrency -enable-experimental-async-handler -validate-tbd-against-ir=all -module-name test | %FileCheck %s
// CHECK: @"$s4test6testityyYaFTu" = hidden global %swift.async_func_pointer
@asyncHandler
public func testit() { }
// RUN: %target-swift-frontend -emit-ir %s -enable-experimental-concurrency -validate-tbd-against-ir=all -module-name test | %FileCheck %s
// CHECK: @barTu = global %swift.async_func_pointer
@_silgen_name("bar")