mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user