aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/swift.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers/swift.ts')
-rw-r--r--lib/compilers/swift.ts9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/compilers/swift.ts b/lib/compilers/swift.ts
index 7d943752f..2844be29c 100644
--- a/lib/compilers/swift.ts
+++ b/lib/compilers/swift.ts
@@ -35,10 +35,11 @@ export class SwiftCompiler extends BaseCompiler {
constructor(info: PreliminaryCompilerInfo, env) {
super(info, env);
- this.compiler.supportsOptPipelineView = true;
- this.compiler.optPipelineArg = ['-Xllvm', '-print-after-all', '-Xllvm', '-print-before-all'];
- this.compiler.optPipelineModuleScopeArg = ['-Xllvm', '-print-module-scope'];
- this.compiler.optPipelineNoDiscardValueNamesArg = [];
+ this.compiler.optPipeline = {
+ arg: ['-Xllvm', '-print-after-all', '-Xllvm', '-print-before-all'],
+ moduleScopeArg: ['-Xllvm', '-print-module-scope'],
+ noDiscardValueNamesArg: [],
+ };
}
override getSharedLibraryPathsAsArguments() {