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

Unified Diff: dart/frog/leg/compiler.dart

Issue 9567041: Implement prefixes in NewExpression. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dart/frog/leg/resolver.dart » ('j') | dart/frog/leg/resolver.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/compiler.dart
diff --git a/dart/frog/leg/compiler.dart b/dart/frog/leg/compiler.dart
index c8e7d8bb56dd234bc264cfabe5ff762e49afdce3..b35baafb47be3aba1ffffcd39da7f19be47253b6 100644
--- a/dart/frog/leg/compiler.dart
+++ b/dart/frog/leg/compiler.dart
@@ -43,6 +43,7 @@ class Compiler implements DiagnosticListener {
Namer namer;
Types types;
final String currentDirectory;
+ final Map<Node, ClosureData> closureDataCache;
ngeoffray 2012/03/07 11:35:25 This should be a field in the builder task. But ha
ahe 2012/03/07 21:56:08 Done.
final Tracer tracer;
@@ -89,7 +90,8 @@ class Compiler implements DiagnosticListener {
[this.tracer = const Tracer()])
: types = new Types(),
universe = new Universe(),
- worklist = new Queue<WorkItem>() {
+ worklist = new Queue<WorkItem>(),
+ closureDataCache = new HashMap<Node, ClosureData>() {
namer = new Namer(this);
constantHandler = new ConstantHandler(this);
scanner = new ScannerTask(this);
« no previous file with comments | « no previous file | dart/frog/leg/resolver.dart » ('j') | dart/frog/leg/resolver.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698