| Index: tests/compiler/dart2js/compiler_helper.dart
|
| diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart
|
| index bef0984b9151e8c905884965d6fc7c9105d94766..34a1f4e759304c15390a8289a4e07880b1ce6f80 100644
|
| --- a/tests/compiler/dart2js/compiler_helper.dart
|
| +++ b/tests/compiler/dart2js/compiler_helper.dart
|
| @@ -122,12 +122,8 @@ Future<String> compile(String code,
|
| CompilationResult result = await runCompiler(
|
| memorySourceFiles: source,
|
| options: options,
|
| - outputProvider: outputCollector,
|
| - beforeRun: (compiler) {
|
| - if (disableInlining) {
|
| - compiler.disableInlining = true;
|
| - }
|
| - });
|
| + disableInlining: disableInlining,
|
| + outputProvider: outputCollector);
|
| Expect.isTrue(result.isSuccess);
|
| Compiler compiler = result.compiler;
|
| lego.Element element = compiler.mainApp.find(entry);
|
|
|