mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
REPL: Support -sil-irgen.
Add a 'startElem' option to SILModule::constructSIL so that it can be used with REPL input. Swift SVN r4519
This commit is contained in:
@@ -74,7 +74,7 @@ public:
|
||||
|
||||
/// Construct a SIL module from a translation unit. It is the caller's
|
||||
/// responsibility to 'delete' this object.
|
||||
static SILModule *constructSIL(TranslationUnit *tu);
|
||||
static SILModule *constructSIL(TranslationUnit *tu, unsigned startElem);
|
||||
|
||||
ASTContext &getContext() const { return Context; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user