@@ -120,8 +120,8 @@ class CompilerOptions implements DiagnosticOptions {
120
120
/// Sets a combination of flags for benchmarking 'production' mode.
121
121
bool benchmarkingProduction = false ;
122
122
123
- /// Sets a combination of flags for golem experiment benchmarking mode.
124
- bool golemExperiment = false ;
123
+ /// Sets a combination of flags for benchmarking ' experiment' mode.
124
+ bool benchmarkingExperiment = false ;
125
125
126
126
/// ID associated with this sdk build.
127
127
String buildId = _UNDETERMINED_BUILD_ID ;
@@ -362,7 +362,8 @@ class CompilerOptions implements DiagnosticOptions {
362
362
..allowMockCompilation = _hasOption (options, Flags .allowMockCompilation)
363
363
..benchmarkingProduction =
364
364
_hasOption (options, Flags .benchmarkingProduction)
365
- ..golemExperiment = _hasOption (options, Flags .golemExperiment)
365
+ ..benchmarkingExperiment =
366
+ _hasOption (options, Flags .benchmarkingExperiment)
366
367
..buildId =
367
368
_extractStringOption (options, '--build-id=' , _UNDETERMINED_BUILD_ID )
368
369
..compileForServer = _hasOption (options, Flags .serverMode)
@@ -466,9 +467,9 @@ class CompilerOptions implements DiagnosticOptions {
466
467
omitImplicitChecks = true ;
467
468
}
468
469
469
- if (golemExperiment ) {
470
- // TODO(sra): Set flags implied by '--golem -x'. Initially this will be
471
- // --experiment-new-rti, and later NNBD.
470
+ if (benchmarkingExperiment ) {
471
+ // TODO(sra): Set flags implied by '--benchmarking -x'. Initially this will
472
+ // be --experiment-new-rti, and later NNBD.
472
473
}
473
474
474
475
if (optimizationLevel != null ) {
0 commit comments