mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Revert "[concurrency] Implement a compatibility .a library for Concurrency."
This commit is contained in:
@@ -1836,8 +1836,6 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
runtimeCompatibilityVersion = llvm::VersionTuple(5, 0);
|
||||
} else if (version.equals("5.1")) {
|
||||
runtimeCompatibilityVersion = llvm::VersionTuple(5, 1);
|
||||
} else if (version.equals("5.5")) {
|
||||
runtimeCompatibilityVersion = llvm::VersionTuple(5, 5);
|
||||
} else {
|
||||
Diags.diagnose(SourceLoc(), diag::error_invalid_arg_value,
|
||||
versionArg->getAsString(Args), version);
|
||||
@@ -1860,12 +1858,6 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
getRuntimeCompatVersion();
|
||||
}
|
||||
|
||||
if (!Args.hasArg(
|
||||
options::OPT_disable_autolinking_runtime_compatibility_concurrency)) {
|
||||
Opts.AutolinkRuntimeCompatibilityConcurrencyLibraryVersion =
|
||||
getRuntimeCompatVersion();
|
||||
}
|
||||
|
||||
if (const Arg *A = Args.getLastArg(OPT_num_threads)) {
|
||||
if (StringRef(A->getValue()).getAsInteger(10, Opts.NumThreads)) {
|
||||
Diags.diagnose(SourceLoc(), diag::error_invalid_arg_value,
|
||||
|
||||
Reference in New Issue
Block a user