Enabled IRGen testcases to enable UseJIT, which

is typically disabled when compiling normally,
and thereby emit and check for class initialization
without interfering with PlaygroundTransform
testcases that use classes.


Swift SVN r20659
This commit is contained in:
Sean Callanan
2014-07-29 00:02:18 +00:00
parent 4d03ef63f7
commit f22ad4c631
3 changed files with 7 additions and 1 deletions

View File

@@ -871,6 +871,9 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
if (Args.hasArg(OPT_playground))
Opts.Playground = true;
if (Args.hasArg(OPT_use_jit))
Opts.UseJIT = true;
return false;
}