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

Unified Diff: lib/compiler/implementation/dart_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/dart_backend/backend.dart
diff --git a/lib/compiler/implementation/dart_backend/backend.dart b/lib/compiler/implementation/dart_backend/backend.dart
index 8f46463e69997abc60b49c8bb29add36a88ada91..90c377457eccbca0e434be2043f29b25079e6894 100644
--- a/lib/compiler/implementation/dart_backend/backend.dart
+++ b/lib/compiler/implementation/dart_backend/backend.dart
@@ -214,6 +214,10 @@ class DartBackend extends Backend {
void processNativeClasses(Enqueuer world,
Collection<LibraryElement> libraries) { }
+ // Stub native enqueuers.
+ NativeEnqueuer nativeResolutionEnqueuer(Enqueuer world) => new NativeEnqueuer();
+ NativeEnqueuer nativeCodegenEnqueuer(Enqueuer world) => new NativeEnqueuer();
+
bool isUserLibrary(LibraryElement lib) {
final INTERNAL_HELPERS = [
compiler.jsHelperLibrary,

Powered by Google App Engine
This is Rietveld 408576698