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

Unified Diff: lib/compiler/implementation/js_backend/backend.dart

Issue 11304021: Add NativeEnqueuer to work with the Enqueuer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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/js_backend/backend.dart
diff --git a/lib/compiler/implementation/js_backend/backend.dart b/lib/compiler/implementation/js_backend/backend.dart
index 9f79fcc96ecaba6ca020090308cef0e24c32fab0..e507c221aada6f1c344df5bfab779d1f1e83ed19 100644
--- a/lib/compiler/implementation/js_backend/backend.dart
+++ b/lib/compiler/implementation/js_backend/backend.dart
@@ -745,10 +745,17 @@ class JavaScriptBackend extends Backend {
invalidateAfterCodegen.clear();
}
- void processNativeClasses(Enqueuer world,
- Collection<LibraryElement> libraries) {
- native.processNativeClasses(world, emitter, libraries);
- }
+
+ NativeEnqueuer nativeResolutionEnqueuer(Enqueuer world) =>
+ new native.NativeResolutionEnqueuer(world, compiler);
+
+ NativeEnqueuer nativeCodegenEnqueuer(Enqueuer world) =>
+ new native.NativeCodegenEnqueuer(world, compiler, emitter);
+
+ //void processNativeClasses(Enqueuer world,
+ // Collection<LibraryElement> libraries) {
+ // native.processNativeClasses(world, emitter, libraries);
+ //}
void assembleProgram() {
emitter.assembleProgram();

Powered by Google App Engine
This is Rietveld 408576698