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

Unified Diff: pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart

Issue 3012683002: Don't try to add abstract methods to the codegen work queue to generate bodies (Closed)
Patch Set: reran status files. Created 3 years, 3 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 | tests/compiler/dart2js_extra/dart2js_extra.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
diff --git a/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart b/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
index ff5df10a44f0ce5b8e167d66305bb132aa071a33..8ced1c7ac954184bc39894a0973ee358003c6a99 100644
--- a/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
+++ b/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
@@ -51,6 +51,8 @@ class KernelCodegenWorkItemBuilder implements WorkItemBuilder {
@override
CodegenWorkItem createWorkItem(MemberEntity entity) {
+ if (entity.isAbstract) return null;
+
// Codegen inlines field initializers. It only needs to generate
// code for checked setters.
if (entity.isField && entity.isInstanceMember) {
« no previous file with comments | « no previous file | tests/compiler/dart2js_extra/dart2js_extra.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698