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

Side by Side Diff: pkg/compiler/lib/src/ssa/graph_builder.dart

Issue 2791993002: Fix dart2js warnings and add test to ensure it stays clean. (Closed)
Patch Set: Address comments and fix duplicated library names. Created 3 years, 8 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 import '../common/codegen.dart' show CodegenRegistry; 5 import '../common/codegen.dart' show CodegenRegistry;
6 import '../compiler.dart'; 6 import '../compiler.dart';
7 import '../elements/elements.dart'; 7 import '../elements/elements.dart';
8 import '../elements/entities.dart' show Entity, Local; 8 import '../elements/entities.dart' show Entity, Local;
9 import '../elements/resolution_types.dart'; 9 import '../elements/resolution_types.dart';
10 import '../js_backend/js_backend.dart'; 10 import '../js_backend/js_backend.dart';
11 import '../resolution/tree_elements.dart'; 11 import '../resolution/tree_elements.dart';
12 import '../tree/tree.dart' as ast;
13 import '../types/types.dart'; 12 import '../types/types.dart';
14 import '../world.dart' show ClosedWorld; 13 import '../world.dart' show ClosedWorld;
15 import 'jump_handler.dart'; 14 import 'jump_handler.dart';
16 import 'locals_handler.dart'; 15 import 'locals_handler.dart';
17 import 'nodes.dart'; 16 import 'nodes.dart';
18 import 'type_builder.dart'; 17 import 'type_builder.dart';
19 18
20 /// Base class for objects that build up an SSA graph. 19 /// Base class for objects that build up an SSA graph.
21 /// 20 ///
22 /// This contains helpers for building the graph and tracking information about 21 /// This contains helpers for building the graph and tracking information about
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 open(newBlock); 226 open(newBlock);
228 } 227 }
229 228
230 HInstruction callSetRuntimeTypeInfo( 229 HInstruction callSetRuntimeTypeInfo(
231 HInstruction typeInfo, HInstruction newObject); 230 HInstruction typeInfo, HInstruction newObject);
232 231
233 /// The element for which this SSA builder is being used. 232 /// The element for which this SSA builder is being used.
234 Element get targetElement; 233 Element get targetElement;
235 TypeBuilder get typeBuilder; 234 TypeBuilder get typeBuilder;
236 } 235 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder_kernel.dart ('k') | pkg/compiler/lib/src/ssa/invoke_dynamic_specializers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698