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

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

Issue 9283031: Build script tags. (Closed) Base URL: ssh://aaricia.aar/home/ahe/Dart/all/dart.googlecode.com.git@script
Patch Set: Address review comments Created 8 years, 11 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/elements/elements.dart » ('j') | no next file with comments »
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 64a6b34de47a49e5627353bee43afd01eddc2965..a118238e1ecf8e34e915c55349b7211efb24b8f7 100644
--- a/dart/frog/leg/compiler.dart
+++ b/dart/frog/leg/compiler.dart
@@ -133,8 +133,9 @@ class Compiler implements Canceler, Logger {
readScript(fileName), currentLibrary);
scanner.scan(currentElement);
// Make our special function a foreign kind.
- universe.define(new ForeignElement(const SourceString('JS')));
- universe.define(new ForeignElement(const SourceString('UNINTERCEPTED')));
+ universe.define(new ForeignElement(const SourceString('JS')), this);
+ universe.define(new ForeignElement(const SourceString('UNINTERCEPTED')),
+ this);
// TODO(ngeoffray): Lazily add this method.
universe.invokedNames[NO_SUCH_METHOD] = new Set<int>.from(<int>[2]);
}
« no previous file with comments | « no previous file | dart/frog/leg/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698