MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / updateCompilers

Method updateCompilers

static/panes/diff.ts:584–600  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

582 }
583
584 updateCompilers() {
585 if (this.lhs.id) this.updateCompilersFor(this.selectize.lhs, this.lhs.id);
586 if (this.rhs.id) this.updateCompilersFor(this.selectize.rhs, this.rhs.id);
587
588 this.selectize.lhsdifftype.setValue(
589 encodeSelectizeValue({
590 difftype: this.lhs.difftype || DiffType.ASM,
591 extraoption: this.lhs.extraoption || '',
592 }),
593 );
594 this.selectize.rhsdifftype.setValue(
595 encodeSelectizeValue({
596 difftype: this.rhs.difftype || DiffType.ASM,
597 extraoption: this.rhs.extraoption || '',
598 }),
599 );
600 }
601
602 override getCurrentState() {
603 const parent = super.getCurrentState();

Callers 3

constructorMethod · 0.95
onCompilerMethod · 0.95
onCompilerCloseMethod · 0.95

Calls 2

updateCompilersForMethod · 0.95
encodeSelectizeValueFunction · 0.85

Tested by

no test coverage detected