(info: PreliminaryCompilerInfo, env: CompilationEnvironment)
| 43 | } |
| 44 | |
| 45 | constructor(info: PreliminaryCompilerInfo, env: CompilationEnvironment) { |
| 46 | super(info, env); |
| 47 | this.compiler.supportsIntel = true; |
| 48 | this.compiler.supportsIrView = true; |
| 49 | |
| 50 | this.self_hosted_cli = |
| 51 | this.compiler.semver === 'trunk' || |
| 52 | !!(this.compiler.semver && Semver.gt(asSafeVer(this.compiler.semver), '0.6.0', true)); |
| 53 | |
| 54 | if (this.self_hosted_cli) { |
| 55 | this.compiler.irArg = ['-femit-llvm-ir']; |
| 56 | } else { |
| 57 | this.compiler.irArg = ['--emit', 'llvm-ir']; |
| 58 | } |
| 59 | this.compiler.minIrArgs = ['--emit llvm-ir', '-femit-llvm-ir']; |
| 60 | } |
| 61 | |
| 62 | override getSharedLibraryPathsAsArguments(): string[] { |
| 63 | return []; |
nothing calls this directly
no test coverage detected