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

Side by Side Diff: dart/lib/compiler/implementation/ssa/variable_allocator.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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
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 part of ssa;
6
7 /** 5 /**
8 * The [LiveRange] class covers a range where an instruction is live. 6 * The [LiveRange] class covers a range where an instruction is live.
9 */ 7 */
10 class LiveRange { 8 class LiveRange {
11 final int start; 9 final int start;
12 // [end] is not final because it can be updated due to loops. 10 // [end] is not final because it can be updated due to loops.
13 int end; 11 int end;
14 LiveRange(this.start, this.end) { 12 LiveRange(this.start, this.end) {
15 assert(start <= end); 13 assert(start <= end);
16 } 14 }
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 if (!needsName(input)) { 650 if (!needsName(input)) {
653 names.addAssignment(predecessor, input, phi); 651 names.addAssignment(predecessor, input, phi);
654 } else { 652 } else {
655 names.addCopy(predecessor, input, phi); 653 names.addCopy(predecessor, input, phi);
656 } 654 }
657 } 655 }
658 656
659 namer.allocateName(phi); 657 namer.allocateName(phi);
660 } 658 }
661 } 659 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/ssa/value_set.dart ('k') | dart/lib/compiler/implementation/tools/mini_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698