перенос проходов в центральный модуль

This commit is contained in:
2024-10-13 23:55:03 +03:00
parent 6afa2dc892
commit 4e86871571
150 changed files with 510 additions and 576 deletions

View File

@@ -39,7 +39,7 @@ public class DVMSettingsFields implements DialogFields {
bAddFlags.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
Pass pass = Pass.passes.get(PassCode.PickCompilerOptions);
Pass pass = Global.mainModule.getPass(PassCode.PickCompilerOptions);
if (pass.Do(Global.mainModule.getCompiler())) {
tfFlags.setText((String)pass.target);
}
@@ -48,7 +48,7 @@ public class DVMSettingsFields implements DialogFields {
bAddEnvironments.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
Pass pass = Pass.passes.get(PassCode.PickCompilerEnvironmentsForTesting);
Pass pass = Global.mainModule.getPass(PassCode.PickCompilerEnvironmentsForTesting);
if (pass.Do(Global.mainModule.getCompiler()))
tfEnvironments.setText((String)pass.target);
}