Skip to content

Commit ab8d093

Browse files
authored
SILFunctionExtractor: remove unused Wasm check
This check is no longer needed since Wasm handling was addressed upstream in swiftlang#31920
1 parent e99ad26 commit ab8d093

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/sil-func-extractor/SILFunctionExtractor.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,6 @@ int main(int argc, char **argv) {
254254
Invocation.getLangOptions().DisableAvailabilityChecking = true;
255255
Invocation.getLangOptions().EnableAccessControl = false;
256256
Invocation.getLangOptions().EnableObjCAttrRequiresFoundation = false;
257-
if (Invocation.getLangOptions().Target.isOSBinFormatWasm())
258-
Invocation.getLangOptions().EnableObjCInterop = false;
259257

260258
if (EnableObjCInterop == llvm::cl::BOU_UNSET) {
261259
Invocation.getLangOptions().EnableObjCInterop =

0 commit comments

Comments
 (0)