| Index: tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
|
| diff --git a/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart b/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
|
| index cb78cd4cebfa6a37c7ba3ab51d0a2b21c60d446a..de1cff4b1cfe1de1e10416ef10043fec1cda7426 100644
|
| --- a/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
|
| +++ b/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
|
| @@ -315,15 +315,17 @@ class SourceMapProcessor {
|
| if (options.contains(Flags.useNewSourceInfo)) {
|
| if (verbose) print('Using the new source information system.');
|
| }
|
| + bool disableInlining = false;
|
| + if (options.contains(DISABLE_INLINING)) {
|
| + if (verbose) print('Inlining disabled');
|
| + disableInlining = true;
|
| + }
|
| api.CompilerImpl compiler = await compilerFor(
|
| outputProvider: outputProvider,
|
| + disableInlining: disableInlining,
|
| // TODO(johnniwinther): Use [verbose] to avoid showing diagnostics.
|
| options: ['--out=$targetUri', '--source-map=$sourceMapFileUri']
|
| ..addAll(options));
|
| - if (options.contains(DISABLE_INLINING)) {
|
| - if (verbose) print('Inlining disabled');
|
| - compiler.disableInlining = true;
|
| - }
|
|
|
| JavaScriptBackend backend = compiler.backend;
|
| var handler = compiler.handler;
|
|
|