mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
This commit is contained in:
@@ -170,3 +170,4 @@ From oldest to newest contributor, we would like to thank:
|
|||||||
- [LJ](https://github.com/elle-j)
|
- [LJ](https://github.com/elle-j)
|
||||||
- [Frank Leon Rose](https://github.com/frankleonrose)
|
- [Frank Leon Rose](https://github.com/frankleonrose)
|
||||||
- [Oguz Ulgen](https://github.com/oulgen)
|
- [Oguz Ulgen](https://github.com/oulgen)
|
||||||
|
- [Josh Brice] (https://github.com/jjb0123)
|
||||||
|
|||||||
@@ -2691,7 +2691,15 @@ export class Compiler extends MonacoPane<monaco.editor.IStandaloneCodeEditor, Co
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
const isIntelFilterDisabled = !this.compiler.supportsIntel && !filters.binary && !filters.binaryObject;
|
const isIntelFilterDisabled = !this.compiler.supportsIntel && !filters.binary && !filters.binaryObject;
|
||||||
this.filterIntelButton.prop('disabled', isIntelFilterDisabled);
|
// Hide the Intel syntax option for languages where it doesn't make sense (e.g., Java, Go)
|
||||||
|
// unless we're in binary mode (which uses objdump that might support Intel syntax)
|
||||||
|
const shouldHideIntelFilter = isIntelFilterDisabled;
|
||||||
|
if (shouldHideIntelFilter) {
|
||||||
|
this.filterIntelButton.parent().hide();
|
||||||
|
} else {
|
||||||
|
this.filterIntelButton.parent().show();
|
||||||
|
this.filterIntelButton.prop('disabled', isIntelFilterDisabled);
|
||||||
|
}
|
||||||
formatFilterTitle(this.filterIntelButton, this.filterIntelTitle);
|
formatFilterTitle(this.filterIntelButton, this.filterIntelTitle);
|
||||||
|
|
||||||
// Disable binaryObject support on compilers that don't work with it or if binary is selected
|
// Disable binaryObject support on compilers that don't work with it or if binary is selected
|
||||||
|
|||||||
Reference in New Issue
Block a user