diff options
-rw-r--r-- | static/panes/compiler.ts | 38 | ||||
-rw-r--r-- | types/compiler.interfaces.ts | 46 |
2 files changed, 42 insertions, 42 deletions
diff --git a/static/panes/compiler.ts b/static/panes/compiler.ts index a5fd6c4e9..ca406179d 100644 --- a/static/panes/compiler.ts +++ b/static/panes/compiler.ts @@ -2577,25 +2577,25 @@ export class Compiler extends MonacoPane<monaco.editor.IStandaloneCodeEditor, Co // The executorButton does not need to be changed here, because you can create however // many executors as you want. - this.optButton.toggle(this.compiler.supportsOptOutput); - this.ppButton.toggle(this.compiler.supportsPpView); - this.astButton.toggle(this.compiler.supportsAstView); - this.irButton.toggle(this.compiler.supportsIrView); - this.llvmOptPipelineButton.toggle(this.compiler.supportsLLVMOptPipelineView); - this.deviceButton.toggle(this.compiler.supportsDeviceAsmView); - this.rustMirButton.toggle(this.compiler.supportsRustMirView); - this.rustMacroExpButton.toggle(this.compiler.supportsRustMacroExpView); - this.rustHirButton.toggle(this.compiler.supportsRustHirView); - this.haskellCoreButton.toggle(this.compiler.supportsHaskellCoreView); - this.haskellStgButton.toggle(this.compiler.supportsHaskellStgView); - this.haskellCmmButton.toggle(this.compiler.supportsHaskellCmmView); - this.cfgButton.toggle(this.compiler.supportsCfg); - this.gccDumpButton.toggle(this.compiler.supportsGccDump); - this.gnatDebugTreeButton.toggle(this.compiler.supportsGnatDebugViews); - this.gnatDebugButton.toggle(this.compiler.supportsGnatDebugViews); - this.executorButton.toggle(this.compiler.supportsExecute); - this.filterBinaryButton.toggle(this.compiler.supportsBinary); - this.filterBinaryObjectButton.toggle(this.compiler.supportsBinaryObject); + this.optButton.toggle(!!this.compiler.supportsOptOutput); + this.ppButton.toggle(!!this.compiler.supportsPpView); + this.astButton.toggle(!!this.compiler.supportsAstView); + this.irButton.toggle(!!this.compiler.supportsIrView); + this.llvmOptPipelineButton.toggle(!!this.compiler.supportsLLVMOptPipelineView); + this.deviceButton.toggle(!!this.compiler.supportsDeviceAsmView); + this.rustMirButton.toggle(!!this.compiler.supportsRustMirView); + this.rustMacroExpButton.toggle(!!this.compiler.supportsRustMacroExpView); + this.rustHirButton.toggle(!!this.compiler.supportsRustHirView); + this.haskellCoreButton.toggle(!!this.compiler.supportsHaskellCoreView); + this.haskellStgButton.toggle(!!this.compiler.supportsHaskellStgView); + this.haskellCmmButton.toggle(!!this.compiler.supportsHaskellCmmView); + this.cfgButton.toggle(!!this.compiler.supportsCfg); + this.gccDumpButton.toggle(!!this.compiler.supportsGccDump); + this.gnatDebugTreeButton.toggle(!!this.compiler.supportsGnatDebugViews); + this.gnatDebugButton.toggle(!!this.compiler.supportsGnatDebugViews); + this.executorButton.toggle(!!this.compiler.supportsExecute); + this.filterBinaryButton.toggle(!!this.compiler.supportsBinary); + this.filterBinaryObjectButton.toggle(!!this.compiler.supportsBinaryObject); this.compilerLicenseButton.toggle(!!this.hasCompilerLicenseInfo()); diff --git a/types/compiler.interfaces.ts b/types/compiler.interfaces.ts index 37859c1b1..1d856b4db 100644 --- a/types/compiler.interfaces.ts +++ b/types/compiler.interfaces.ts @@ -51,31 +51,31 @@ export type CompilerInfo = { instructionSet: string; needsMulti: boolean; adarts: string; - supportsDeviceAsmView: boolean; - supportsDemangle: boolean; - supportsBinary: boolean; - supportsBinaryObject: boolean; - supportsIntel: boolean; - interpreted: boolean; + supportsDeviceAsmView?: boolean; + supportsDemangle?: boolean; + supportsBinary?: boolean; + supportsBinaryObject?: boolean; + supportsIntel?: boolean; + interpreted?: boolean; // (interpreted || supportsBinary) && supportsExecute - supportsExecute: boolean; - supportsGccDump: boolean; - supportsFiltersInBinary: boolean; - supportsOptOutput: boolean; - supportsPpView: boolean; - supportsAstView: boolean; - supportsIrView: boolean; - supportsLLVMOptPipelineView: boolean; - supportsRustMirView: boolean; - supportsRustMacroExpView: boolean; - supportsRustHirView: boolean; - supportsHaskellCoreView: boolean; - supportsHaskellStgView: boolean; - supportsHaskellCmmView: boolean; - supportsCfg: boolean; - supportsGnatDebugViews: boolean; + supportsExecute?: boolean; + supportsGccDump?: boolean; + supportsFiltersInBinary?: boolean; + supportsOptOutput?: boolean; + supportsPpView?: boolean; + supportsAstView?: boolean; + supportsIrView?: boolean; + supportsLLVMOptPipelineView?: boolean; + supportsRustMirView?: boolean; + supportsRustMacroExpView?: boolean; + supportsRustHirView?: boolean; + supportsHaskellCoreView?: boolean; + supportsHaskellStgView?: boolean; + supportsHaskellCmmView?: boolean; + supportsCfg?: boolean; + supportsGnatDebugViews?: boolean; + supportsLibraryCodeFilter?: boolean; executionWrapper: string; - supportsLibraryCodeFilter: boolean; postProcess: string[]; lang: string; group: string; |