| Index: pkg/compiler/lib/src/compiler.dart
|
| diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
|
| index 9f1484332e5f33016caad96a3dca37adb7c7bd40..204fd10893266c218eaa568fc2796b6537a3fc19 100644
|
| --- a/pkg/compiler/lib/src/compiler.dart
|
| +++ b/pkg/compiler/lib/src/compiler.dart
|
| @@ -86,6 +86,8 @@ import 'null_compiler_output.dart' show
|
| NullSink;
|
| import 'parser/diet_parser_task.dart' show
|
| DietParserTask;
|
| +import 'parser/element_listener.dart' show
|
| + ScannerOptions;
|
| import 'parser/parser_task.dart' show
|
| ParserTask;
|
| import 'patch_parser.dart' show
|
| @@ -2028,6 +2030,11 @@ class _CompilerParsing implements Parsing {
|
| }
|
| });
|
| }
|
| +
|
| + ScannerOptions getScannerOptionsFor(Element element) {
|
| + return new ScannerOptions(
|
| + canUseNative: compiler.backend.canLibraryUseNative(element.library));
|
| + }
|
| }
|
|
|
| class GlobalDependencyRegistry extends CodegenRegistry {
|
|
|