diff --git a/static/panes/compiler.ts b/static/panes/compiler.ts index 28aaa1c68a136470c3e8bc85ce0ca8a8427a3c5c..c7d8a5e07a8dc80dac44d15c5da9b4b4730c910e 100644 --- a/static/panes/compiler.ts +++ b/static/panes/compiler.ts @@ -2152,11 +2152,7 @@ export class Compiler extends MonacoPane<monaco.editor.IStandaloneCodeEditor, Co } } - onGccDumpFiltersChanged( - id: number, - dumpOpts: GccDumpFiltersState, - reqCompile: boolean - ): void { + onGccDumpFiltersChanged(id: number, dumpOpts: GccDumpFiltersState, reqCompile: boolean): void { if (this.id === id) { this.treeDumpEnabled = dumpOpts.treeDump; this.rtlDumpEnabled = dumpOpts.rtlDump; diff --git a/static/panes/gccdump-view.ts b/static/panes/gccdump-view.ts index ce25514e5310d232456821da553c0b30c865da9a..b5be0507a9b1eb0c6592c940ce1ae1f6025393b3 100644 --- a/static/panes/gccdump-view.ts +++ b/static/panes/gccdump-view.ts @@ -91,13 +91,13 @@ export class GccDump extends MonacoPane<monaco.editor.IStandaloneCodeEditor, Gcc }; const match = state.selectedPass.match(selectedPassRe); if (match) { - const selectedPassO : GccDumpViewSelectedPass = { + const selectedPassO: GccDumpViewSelectedPass = { filename_suffix: match[1] + '.' + match[2], name: match[2] + ' (' + passType[match[1]] + ')', command_prefix: '-fdump-' + passType[match[1]] + '-' + match[2], // FIXME(dkm): maybe this could be avoided by better typing. - selectedPass : null, + selectedPass: null, }; this.eventHub.emit('gccDumpPassSelected', this.compilerInfo.compilerId, selectedPassO, false); @@ -109,12 +109,7 @@ export class GccDump extends MonacoPane<monaco.editor.IStandaloneCodeEditor, Gcc this.uiIsReady = false; this.onUiNotReady(); - this.eventHub.emit( - 'gccDumpFiltersChanged', - this.compilerInfo.compilerId, - this.getEffectiveFilters(), - false - ); + this.eventHub.emit('gccDumpFiltersChanged', this.compilerInfo.compilerId, this.getEffectiveFilters(), false); this.updateButtons(); this.updateState(); @@ -383,7 +378,7 @@ export class GccDump extends MonacoPane<monaco.editor.IStandaloneCodeEditor, Gcc } } - getEffectiveFilters() : GccDumpFiltersState { + getEffectiveFilters(): GccDumpFiltersState { // This cast only works if gccdump.pug and gccdump-view.interfaces are // kept synchronized. See comment in gccdump-view.interfaces.ts. @@ -395,12 +390,7 @@ export class GccDump extends MonacoPane<monaco.editor.IStandaloneCodeEditor, Gcc this.updateButtons(); if (this.inhibitPassSelect !== true) { - this.eventHub.emit( - 'gccDumpFiltersChanged', - this.compilerInfo.compilerId, - this.getEffectiveFilters(), - true - ); + this.eventHub.emit('gccDumpFiltersChanged', this.compilerInfo.compilerId, this.getEffectiveFilters(), true); } }