Separated out the Onone module handling from stdlib handling

Also refactored the Onone module predicate. I believe there is no functional change, but I don't understand the correctness of what was there.
This commit is contained in:
David Ungar
2017-09-07 14:48:37 -07:00
parent 249718e1bd
commit add13798be
3 changed files with 26 additions and 20 deletions

View File

@@ -449,7 +449,7 @@ public:
void freeContextAndSIL();
private:
bool loadStdlibAndMaybeSwiftOnoneSupport();
bool loadStdlib();
ModuleDecl *importUnderlyingModule();
ModuleDecl *importBridgingHeader();