In the REPL, allow access to the Builtin module if explicitly imported,

there is no reason to deny it and it could be theoretically useful.


Swift SVN r5779
This commit is contained in:
Chris Lattner
2013-06-24 16:07:56 +00:00
parent f4a4fad228
commit 1040bfec6a
8 changed files with 13 additions and 11 deletions

View File

@@ -980,7 +980,7 @@ public:
CmdLine(CmdLine),
Comp(new (Context.Allocate<Component>(1)) Component()),
TU(new (Context) TranslationUnit(Context.getIdentifier("REPL"),
Comp, Context, TranslationUnit::Repl)),
Comp, Context, TranslationUnit::REPL)),
RanGlobalInitializers(false),
Module("REPL", LLVMContext),
DumpModule("REPL", LLVMContext),