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

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

Issue 382063002: Redo "Information about which functions require other functions is gathered in the enqueuer." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 6 years, 5 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: 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 4e2e8f82214038e1aa05ce4ecbab91a8b7abc853..3015e0b028d5443a81075eccc0172ed9fbef9b2c 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
@@ -842,6 +842,7 @@ class JavaScriptBackend extends Backend {
}
onResolutionComplete() {
+ super.onResolutionComplete();
computeMembersNeededForReflection();
rti.computeClassesNeedingRti();
}
@@ -943,9 +944,9 @@ class JavaScriptBackend extends Backend {
enqueueClass(compiler.enqueuer.resolution, compiler.stringClass, registry);
}
- void enableNoSuchMethod(Enqueuer world) {
+ void enableNoSuchMethod(context, Enqueuer world) {
sigurdm 2014/08/19 06:51:15 DBC: Missing a type
Ty Overby (Google) 2014/08/19 19:44:13 Done.
enqueue(world, getCreateInvocationMirror(), compiler.globalDependencies);
- world.registerInvocation(compiler.noSuchMethodSelector);
+ world.registerInvocation(context, compiler.noSuchMethodSelector);
}
void enableIsolateSupport(Enqueuer enqueuer) {

Powered by Google App Engine
This is Rietveld 408576698