@@ -280,8 +280,6 @@ class SILModule {
280
280
// / invalidation message is sent.
281
281
llvm::SetVector<DeleteNotificationHandler*> NotificationHandlers;
282
282
283
- // Intentionally marked private so that we need to use 'constructSIL()'
284
- // to construct a SILModule.
285
283
SILModule (ModuleDecl *M, Lowering::TypeConverter &TC,
286
284
const SILOptions &Options, const DeclContext *associatedDC,
287
285
bool wholeModule);
@@ -355,17 +353,6 @@ class SILModule {
355
353
// / Erase a global SIL variable from the module.
356
354
void eraseGlobalVariable (SILGlobalVariable *G);
357
355
358
- // / Construct a SIL module from an AST module.
359
- // /
360
- // / The module will be constructed in the Raw stage. The provided AST module
361
- // / should contain source files.
362
- // /
363
- // / If a source file is provided, SIL will only be emitted for decls in that
364
- // / source file.
365
- static std::unique_ptr<SILModule>
366
- constructSIL (ModuleDecl *M, Lowering::TypeConverter &TC,
367
- const SILOptions &Options, FileUnit *sf = nullptr );
368
-
369
356
// / Create and return an empty SIL module that we can
370
357
// / later parse SIL bodies directly into, without converting from an AST.
371
358
static std::unique_ptr<SILModule>
0 commit comments