@@ -87,9 +87,8 @@ abstract class CompilerConfiguration {
8787 return Dart2WasmCompilerConfiguration (configuration);
8888
8989 case Compiler .dartdevc:
90- return DevCompilerConfiguration (configuration);
91-
9290 case Compiler .dartdevk:
91+ case Compiler .ddc:
9392 return DevCompilerConfiguration (configuration);
9493
9594 case Compiler .appJitk:
@@ -583,16 +582,17 @@ class Dart2WasmCompilerConfiguration extends CompilerConfiguration {
583582 }
584583}
585584
586- /// Configuration for `dartdevc` and `dartdevk` (DDC with Kernel)
585+ /// Configuration for "dartdevc", "dartdevk", and "ddc".
586+ // TODO(nshahan): Cleanup mulitple aliases for the compiler.
587587class DevCompilerConfiguration extends CompilerConfiguration {
588588 DevCompilerConfiguration (TestConfiguration configuration)
589589 : super ._subclass (configuration);
590590
591591 String computeCompilerPath () {
592- // The compiler is a Dart program and not an executable itself, so the
593- // command to spawn as a subprocess is a Dart VM. Internally the
594- // [DevCompilerCompilationCommand] will prepend the snapshot or Dart library
595- // entrypoint that is executed by the VM.
592+ // DDC is a Dart program and not an executable itself, so the command to
593+ // spawn as a subprocess is a Dart VM.
594+ // Internally the [DevCompilerCompilationCommand] will prepend the snapshot
595+ // or Dart library entrypoint that is executed by the VM.
596596 // This will change once we update the DDC to use AOT instead of a snapshot.
597597 var dir = _useSdk ? '${_configuration .buildDirectory }/dart-sdk' : 'sdk' ;
598598 return '$dir /bin/dart$executableExtension ' ;
0 commit comments