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

Side by Side Diff: pkg/compiler/lib/src/tree_ir/tree_ir_tracer.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 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 tree_ir_tracer; 5 library tree_ir_tracer;
6 6
7 import 'dart:async' show EventSink; 7 import 'dart:async' show EventSink;
8
8 import '../tracer.dart'; 9 import '../tracer.dart';
9 import 'tree_ir_nodes.dart'; 10 import 'tree_ir_nodes.dart';
10 11
11 class Block { 12 class Block {
12 Label label; 13 Label label;
13 int index; 14 int index;
14 15
15 /// Mixed list of [Statement] and [Block]. 16 /// Mixed list of [Statement] and [Block].
16 /// A [Block] represents a synthetic goto statement. 17 /// A [Block] represents a synthetic goto statement.
17 final List statements = []; 18 final List statements = [];
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 String prefix = v.element == null ? 'v' : '${v.element.name}_'; 612 String prefix = v.element == null ? 'v' : '${v.element.name}_';
612 while (name == null || _usedNames.contains(name)) { 613 while (name == null || _usedNames.contains(name)) {
613 name = "$prefix${_counter++}"; 614 name = "$prefix${_counter++}";
614 } 615 }
615 _names[v] = name; 616 _names[v] = name;
616 _usedNames.add(name); 617 _usedNames.add(name);
617 } 618 }
618 return name; 619 return name;
619 } 620 }
620 } 621 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart ('k') | pkg/compiler/lib/src/types/types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698