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

Side by Side Diff: pkg/compiler/lib/src/cps_ir/cps_ir_integrity.dart

Issue 2221893003: pkg/compiler: fix imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 library dart2js.cps_ir_integrity; 1 library dart2js.cps_ir_integrity;
2 2
3 import '../tracer.dart' as tracer;
3 import 'cps_ir_nodes.dart'; 4 import 'cps_ir_nodes.dart';
4 import 'cps_ir_nodes_sexpr.dart'; 5 import 'cps_ir_nodes_sexpr.dart';
5 import '../tracer.dart' as tracer;
6 6
7 /// Dump S-expressions on error if the tracer is enabled. 7 /// Dump S-expressions on error if the tracer is enabled.
8 /// 8 ///
9 /// Technically this has nothing to do with the tracer, but if you want one 9 /// Technically this has nothing to do with the tracer, but if you want one
10 /// enabled, you typically want the other as well, so we use the same flag. 10 /// enabled, you typically want the other as well, so we use the same flag.
11 const bool ENABLE_DUMP = tracer.TRACE_FILTER_PATTERN != null; 11 const bool ENABLE_DUMP = tracer.TRACE_FILTER_PATTERN != null;
12 12
13 enum ScopeType { InScope, InDefinition, NotInScope } 13 enum ScopeType { InScope, InDefinition, NotInScope }
14 14
15 /// Performs integrity checks on the CPS IR. 15 /// Performs integrity checks on the CPS IR.
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 } 267 }
268 268
269 @override 269 @override
270 processReference(Reference node) { 270 processReference(Reference node) {
271 if (node.parent != _parent) { 271 if (node.parent != _parent) {
272 error('Parent pointer on $node is ${node.parent} but should be $_parent', 272 error('Parent pointer on $node is ${node.parent} but should be $_parent',
273 node); 273 node);
274 } 274 }
275 } 275 }
276 } 276 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_fragment.dart ('k') | pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698