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

Unified Diff: sdk/lib/_internal/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: code review fixes 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
index cf9c8a4ae3c23fc53451f7b1dc623765c7102686..2aa1fc8663ff4baccd70fcdf44705d4ceeaffd57 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
@@ -811,9 +811,13 @@ class JavaScriptBackend extends Backend {
invalidateAfterCodegen.clear();
}
- void processNativeClasses(Enqueuer world,
- Collection<LibraryElement> libraries) {
- native.processNativeClasses(world, emitter, libraries);
+
+ native.NativeEnqueuer nativeResolutionEnqueuer(Enqueuer world) {
+ return new native.NativeResolutionEnqueuer(world, compiler);
+ }
+
+ native.NativeEnqueuer nativeCodegenEnqueuer(Enqueuer world) {
+ return new native.NativeCodegenEnqueuer(world, compiler, emitter);
}
void assembleProgram() {

Powered by Google App Engine
This is Rietveld 408576698