From ab8d09349fd5120b75055b144cb08637762b0d90 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Wed, 29 Sep 2021 10:28:03 +0100 Subject: [PATCH] SILFunctionExtractor: remove unused Wasm check This check is no longer needed since Wasm handling was addressed upstream in https://github.com/apple/swift/pull/31920 --- tools/sil-func-extractor/SILFunctionExtractor.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/sil-func-extractor/SILFunctionExtractor.cpp b/tools/sil-func-extractor/SILFunctionExtractor.cpp index 0b77d27354fda..57d6ffd5d4f5d 100644 --- a/tools/sil-func-extractor/SILFunctionExtractor.cpp +++ b/tools/sil-func-extractor/SILFunctionExtractor.cpp @@ -254,8 +254,6 @@ int main(int argc, char **argv) { Invocation.getLangOptions().DisableAvailabilityChecking = true; Invocation.getLangOptions().EnableAccessControl = false; Invocation.getLangOptions().EnableObjCAttrRequiresFoundation = false; - if (Invocation.getLangOptions().Target.isOSBinFormatWasm()) - Invocation.getLangOptions().EnableObjCInterop = false; if (EnableObjCInterop == llvm::cl::BOU_UNSET) { Invocation.getLangOptions().EnableObjCInterop =