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

Unified Diff: lib/compiler/implementation/ssa/closure.dart

Issue 10310040: Sort the output (for now just the classes and instance members). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove (now) unnecessary changes. Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: lib/compiler/implementation/ssa/closure.dart
diff --git a/lib/compiler/implementation/ssa/closure.dart b/lib/compiler/implementation/ssa/closure.dart
index 82ee51afec661305c02f58d0dda510b39cce048d..68f173d6b20ebf1685d768f656381f6007036459 100644
--- a/lib/compiler/implementation/ssa/closure.dart
+++ b/lib/compiler/implementation/ssa/closure.dart
@@ -14,7 +14,9 @@ class ClosureFieldElement extends Element {
class ClosureClassElement extends ClassElement {
ClosureClassElement(Compiler compiler, Element enclosingElement)
- : super(compiler.closureClass.name, enclosingElement) {
+ : super(compiler.closureClass.name,
+ enclosingElement,
+ compiler.universe.getNextFreeClassId()) {
kasperl 2012/05/09 08:15:20 So all closures come after the classes in a source
floitsch 2012/05/09 10:55:08 Done.
isResolved = true;
compiler.closureClass.ensureResolved(compiler);
supertype = compiler.closureClass.computeType(compiler);

Powered by Google App Engine
This is Rietveld 408576698