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

Side by Side Diff: pkg/compiler/lib/src/ssa/variable_allocator.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
« no previous file with comments | « pkg/compiler/lib/src/ssa/value_set.dart ('k') | pkg/compiler/lib/src/string_validator.dart » ('j') | 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 import '../common.dart'; 5 import '../common.dart';
6 import '../compiler.dart' show Compiler; 6 import '../compiler.dart' show Compiler;
7 import '../js_backend/js_backend.dart'; 7 import '../js_backend/js_backend.dart';
8
9 import 'nodes.dart'; 8 import 'nodes.dart';
10 9
11 /** 10 /**
12 * The [LiveRange] class covers a range where an instruction is live. 11 * The [LiveRange] class covers a range where an instruction is live.
13 */ 12 */
14 class LiveRange { 13 class LiveRange {
15 final int start; 14 final int start;
16 // [end] is not final because it can be updated due to loops. 15 // [end] is not final because it can be updated due to loops.
17 int end; 16 int end;
18 LiveRange(this.start, this.end) { 17 LiveRange(this.start, this.end) {
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 if (!needsName(input)) { 710 if (!needsName(input)) {
712 names.addAssignment(predecessor, input, phi); 711 names.addAssignment(predecessor, input, phi);
713 } else { 712 } else {
714 names.addCopy(predecessor, input, phi); 713 names.addCopy(predecessor, input, phi);
715 } 714 }
716 } 715 }
717 716
718 namer.allocateName(phi); 717 namer.allocateName(phi);
719 } 718 }
720 } 719 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/value_set.dart ('k') | pkg/compiler/lib/src/string_validator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698