Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: tests/compiler/dart2js/analyze_unused_dart2js_test.dart

Issue 1192103002: Support serialization of the compiler backbone. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Handle (bypass) external const constructors. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyze_unused_dart2js; 5 library analyze_unused_dart2js;
6 6
7 import 'package:async_helper/async_helper.dart'; 7 import 'package:async_helper/async_helper.dart';
8 8
9 import 'package:compiler/src/dart2jslib.dart'; 9 import 'package:compiler/src/dart2jslib.dart';
10 import 'package:compiler/src/filenames.dart'; 10 import 'package:compiler/src/filenames.dart';
(...skipping 20 matching lines...) Expand all
31 "The class 'Base", "The method 'error", "The method 'visit"], 31 "The class 'Base", "The method 'error", "The method 'visit"],
32 32
33 // Uncalled type predicate. Keep while related predicates are used. 33 // Uncalled type predicate. Keep while related predicates are used.
34 "lib/src/ssa/nodes.dart": const [ 34 "lib/src/ssa/nodes.dart": const [
35 "The method 'isArray' is never called"], 35 "The method 'isArray' is never called"],
36 36
37 // Method in abstract class. Currently only instantiated trough tests. 37 // Method in abstract class. Currently only instantiated trough tests.
38 "lib/src/constants/expressions.dart": const [ 38 "lib/src/constants/expressions.dart": const [
39 "The method 'readFromEnvironment' is never called"], 39 "The method 'readFromEnvironment' is never called"],
40 40
41 // Serialization code is only used in test.
42 "lib/src/serialization/": const [
43 "is never"],
44
41 // Nested functions are currently kept alive in the IR. 45 // Nested functions are currently kept alive in the IR.
42 "lib/src/tree_ir/": const [ 46 "lib/src/tree_ir/": const [
43 "accept", "FunctionExpression", "CreateFunction" 47 "accept", "FunctionExpression", "CreateFunction"
44 ], 48 ],
45 49
46 "lib/src/cps_ir/": const [ 50 "lib/src/cps_ir/": const [
47 "accept", "CreateFunction", 51 "accept", "CreateFunction",
48 ], 52 ],
49 53
50 "/lib/src/dart_backend/backend_ast_to_frontend_ast.dart": const [ 54 "/lib/src/dart_backend/backend_ast_to_frontend_ast.dart": const [
(...skipping 27 matching lines...) Expand all
78 } else if (member.isTypedef) { 82 } else if (member.isTypedef) {
79 if (member.isResolved) { 83 if (member.isResolved) {
80 compiler.reportHint(member, MessageKind.GENERIC, 84 compiler.reportHint(member, MessageKind.GENERIC,
81 {'text': "Helper typedef in production code '$member'."}); 85 {'text': "Helper typedef in production code '$member'."});
82 } 86 }
83 } 87 }
84 } 88 }
85 compiler.libraryLoader.lookupLibrary(helperUri).forEachLocalMember(checkLive); 89 compiler.libraryLoader.lookupLibrary(helperUri).forEachLocalMember(checkLive);
86 return handler.checkResults(); 90 return handler.checkResults();
87 } 91 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/util/link_implementation.dart ('k') | tests/compiler/dart2js/serialization_analysis_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698