diff options
Diffstat (limited to 'lib/compilers/opt.ts')
-rw-r--r-- | lib/compilers/opt.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/compilers/opt.ts b/lib/compilers/opt.ts index 418230f31..753fc2b26 100644 --- a/lib/compilers/opt.ts +++ b/lib/compilers/opt.ts @@ -35,10 +35,11 @@ export class OptCompiler extends BaseCompiler { constructor(info: PreliminaryCompilerInfo, env) { super(info, env); - this.compiler.supportsOptPipelineView = true; - this.compiler.optPipelineArg = ['-print-after-all', '-print-before-all']; - this.compiler.optPipelineModuleScopeArg = ['-print-module-scope']; - this.compiler.optPipelineNoDiscardValueNamesArg = []; + this.compiler.optPipeline = { + arg: ['-print-after-all', '-print-before-all'], + moduleScopeArg: ['-print-module-scope'], + noDiscardValueNamesArg: [], + }; } override optionsForFilter(filters: ParseFiltersAndOutputOptions, outputFilename: string) { |