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

Side by Side Diff: pkg/compiler/lib/src/ssa/validate.dart

Issue 1762723002: Cleanup 1: split parts into their own libraries, remove unused imports (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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; 5
sra1 2016/03/04 01:21:10 extra line
Siggi Cherem (dart-lang) 2016/03/14 21:05:29 Done.
6 import 'nodes.dart';
6 7
7 class HValidator extends HInstructionVisitor { 8 class HValidator extends HInstructionVisitor {
8 bool isValid = true; 9 bool isValid = true;
9 HGraph graph; 10 HGraph graph;
10 11
11 void visitGraph(HGraph visitee) { 12 void visitGraph(HGraph visitee) {
12 graph = visitee; 13 graph = visitee;
13 visitDominatorTree(visitee); 14 visitDominatorTree(visitee);
14 } 15 }
15 16
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 markInvalid("Instruction in wrong block"); 192 markInvalid("Instruction in wrong block");
192 } 193 }
193 if (!hasCorrectInputs()) { 194 if (!hasCorrectInputs()) {
194 markInvalid("Incorrect inputs"); 195 markInvalid("Incorrect inputs");
195 } 196 }
196 if (!hasCorrectUses()) { 197 if (!hasCorrectUses()) {
197 markInvalid("Incorrect uses"); 198 markInvalid("Incorrect uses");
198 } 199 }
199 } 200 }
200 } 201 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/types_propagation.dart ('k') | pkg/compiler/lib/src/ssa/value_range_analyzer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698