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

Side by Side Diff: dart/lib/compiler/implementation/ssa/value_set.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, 2 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 | 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 class ValueSet { 5 class ValueSet {
8 int size = 0; 6 int size = 0;
9 List<HInstruction> table; 7 List<HInstruction> table;
10 ValueSetNode collisions; 8 ValueSetNode collisions;
11 ValueSet() : table = new List<HInstruction>(8); 9 ValueSet() : table = new List<HInstruction>(8);
12 10
13 bool isEmpty() => size == 0; 11 bool isEmpty() => size == 0;
14 int get length => size; 12 int get length => size;
15 13
16 void add(HInstruction instruction) { 14 void add(HInstruction instruction) {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 } 146 }
149 } 147 }
150 148
151 class ValueSetNode { 149 class ValueSetNode {
152 final HInstruction value; 150 final HInstruction value;
153 final int hash; 151 final int hash;
154 int get hashCode => hash; 152 int get hashCode => hash;
155 ValueSetNode next; 153 ValueSetNode next;
156 ValueSetNode(this.value, this.hash, this.next); 154 ValueSetNode(this.value, this.hash, this.next);
157 } 155 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698