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

Side by Side Diff: dart/lib/compiler/implementation/dart_backend/placeholder_collector.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 dart_backend;
6
7 class LocalPlaceholder { 5 class LocalPlaceholder {
8 final String identifier; 6 final String identifier;
9 final Set<Node> nodes; 7 final Set<Node> nodes;
10 LocalPlaceholder(this.identifier) : nodes = new Set<Node>(); 8 LocalPlaceholder(this.identifier) : nodes = new Set<Node>();
11 int get hashCode => identifier.hashCode; 9 int get hashCode => identifier.hashCode;
12 String toString() => 10 String toString() =>
13 'local_placeholder[id($identifier), nodes($nodes)]'; 11 'local_placeholder[id($identifier), nodes($nodes)]';
14 } 12 }
15 13
16 class FunctionScope { 14 class FunctionScope {
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 636
639 visitBlock(Block node) { 637 visitBlock(Block node) {
640 for (Node statement in node.statements.nodes) { 638 for (Node statement in node.statements.nodes) {
641 if (statement is VariableDefinitions) { 639 if (statement is VariableDefinitions) {
642 makeVarDeclarationTypePlaceholder(statement); 640 makeVarDeclarationTypePlaceholder(statement);
643 } 641 }
644 } 642 }
645 node.visitChildren(this); 643 node.visitChildren(this);
646 } 644 }
647 } 645 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/dart_backend/emitter.dart ('k') | dart/lib/compiler/implementation/dart_backend/renamer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698