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

Side by Side Diff: dart/lib/compiler/implementation/ssa/optimize.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 abstract class OptimizationPhase { 5 abstract class OptimizationPhase {
8 String get name; 6 String get name;
9 void visitGraph(HGraph graph); 7 void visitGraph(HGraph graph);
10 } 8 }
11 9
12 class SsaOptimizerTask extends CompilerTask { 10 class SsaOptimizerTask extends CompilerTask {
13 final JavaScriptBackend backend; 11 final JavaScriptBackend backend;
14 SsaOptimizerTask(JavaScriptBackend backend) 12 SsaOptimizerTask(JavaScriptBackend backend)
15 : this.backend = backend, 13 : this.backend = backend,
16 super(backend.compiler); 14 super(backend.compiler);
(...skipping 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 } 1337 }
1340 1338
1341 // For other fields having setters in the generative constructor body, set 1339 // For other fields having setters in the generative constructor body, set
1342 // the type to UNKNOWN to avoid relying on the type set in the initializer 1340 // the type to UNKNOWN to avoid relying on the type set in the initializer
1343 // list. 1341 // list.
1344 allSetters.forEach((Element element) { 1342 allSetters.forEach((Element element) {
1345 backend.registerFieldConstructor(element, HType.UNKNOWN); 1343 backend.registerFieldConstructor(element, HType.UNKNOWN);
1346 }); 1344 });
1347 } 1345 }
1348 } 1346 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/ssa/nodes.dart ('k') | dart/lib/compiler/implementation/ssa/types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698