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

Side by Side Diff: pkg/compiler/lib/src/use_unused_api.dart

Issue 917663003: Put IR builder visitors in a different library than IrBuilder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add import to a2d. Created 5 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/task.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /// This file use methods that aren't used by dart2js.dart, but that we wish to 5 /// This file use methods that aren't used by dart2js.dart, but that we wish to
6 /// keep anyway. This might be general API that isn't currently in use, 6 /// keep anyway. This might be general API that isn't currently in use,
7 /// debugging aids, or API only used for testing (see TODO below). 7 /// debugging aids, or API only used for testing (see TODO below).
8 8
9 library dart2js.use_unused_api; 9 library dart2js.use_unused_api;
10 10
11 import '../compiler.dart' as api; 11 import '../compiler.dart' as api;
12 12
13 import 'colors.dart' as colors; 13 import 'colors.dart' as colors;
14 import 'constants/values.dart' as constants; 14 import 'constants/values.dart' as constants;
15 import 'cps_ir/cps_ir_builder.dart' as ir_builder; 15 import 'cps_ir/cps_ir_builder.dart' as ir_builder;
16 import 'cps_ir/cps_ir_builder_task.dart' as ir_builder;
16 import 'cps_ir/cps_ir_nodes_sexpr.dart' as cps_ir_nodes_sexpr; 17 import 'cps_ir/cps_ir_nodes_sexpr.dart' as cps_ir_nodes_sexpr;
17 import 'dart_types.dart' as dart_types; 18 import 'dart_types.dart' as dart_types;
18 import 'dart2js.dart' as dart2js; 19 import 'dart2js.dart' as dart2js;
19 import 'dart2jslib.dart' as dart2jslib; 20 import 'dart2jslib.dart' as dart2jslib;
20 import 'elements/elements.dart' as elements; 21 import 'elements/elements.dart' as elements;
21 import 'elements/modelx.dart' as modelx; 22 import 'elements/modelx.dart' as modelx;
22 import 'elements/visitor.dart' as elements_visitor; 23 import 'elements/visitor.dart' as elements_visitor;
23 import 'filenames.dart' as filenames; 24 import 'filenames.dart' as filenames;
24 import 'inferrer/concrete_types_inferrer.dart' as concrete_types_inferrer; 25 import 'inferrer/concrete_types_inferrer.dart' as concrete_types_inferrer;
25 import 'inferrer/type_graph_inferrer.dart' as type_graph_inferrer; 26 import 'inferrer/type_graph_inferrer.dart' as type_graph_inferrer;
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 } 270 }
270 271
271 useScript(dart2jslib.Script script) { 272 useScript(dart2jslib.Script script) {
272 script.copyWithFile(null); 273 script.copyWithFile(null);
273 } 274 }
274 275
275 useProgramBuilder(program_builder.ProgramBuilder builder) { 276 useProgramBuilder(program_builder.ProgramBuilder builder) {
276 builder.buildMethodHackForIncrementalCompilation(null); 277 builder.buildMethodHackForIncrementalCompilation(null);
277 builder.buildFieldsHackForIncrementalCompilation(null); 278 builder.buildFieldsHackForIncrementalCompilation(null);
278 } 279 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/task.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698