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

Side by Side Diff: pkg/compiler/lib/src/ssa/value_set.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) 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 '../universe/side_effects.dart' show SideEffects; 5 import '../universe/side_effects.dart' show SideEffects;
6
7 import 'nodes.dart'; 6 import 'nodes.dart';
8 7
9 class ValueSet { 8 class ValueSet {
10 int size = 0; 9 int size = 0;
11 List<HInstruction> table; 10 List<HInstruction> table;
12 ValueSetNode collisions; 11 ValueSetNode collisions;
13 ValueSet() : table = new List<HInstruction>(8); 12 ValueSet() : table = new List<HInstruction>(8);
14 13
15 bool get isEmpty => size == 0; 14 bool get isEmpty => size == 0;
16 int get length => size; 15 int get length => size;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 } 149 }
151 } 150 }
152 151
153 class ValueSetNode { 152 class ValueSetNode {
154 final HInstruction value; 153 final HInstruction value;
155 final int hash; 154 final int hash;
156 int get hashCode => hash; 155 int get hashCode => hash;
157 ValueSetNode next; 156 ValueSetNode next;
158 ValueSetNode(this.value, this.hash, this.next); 157 ValueSetNode(this.value, this.hash, this.next);
159 } 158 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/ssa_tracer.dart ('k') | pkg/compiler/lib/src/ssa/variable_allocator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698