mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[embedded] Prefer Module.getOptions().EmbeddedSwift in SIL code
This commit is contained in:
@@ -43,7 +43,7 @@ class VTableSpecializer : public SILModuleTransform {
|
||||
void run() override {
|
||||
SILModule &module = *getModule();
|
||||
|
||||
if (!module.getASTContext().LangOpts.hasFeature(Feature::Embedded)) return;
|
||||
if (!module.getOptions().EmbeddedSwift) return;
|
||||
|
||||
LLVM_DEBUG(llvm::dbgs() << "***** VTableSpecializer\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user