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

Unified Diff: pkg/compiler/lib/src/ssa/builder_kernel.dart

Issue 2850933002: kernel backend impact - noSuchMethod helpers are passed a Map literal (Closed)
Patch Set: Created 3 years, 8 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: pkg/compiler/lib/src/ssa/builder_kernel.dart
diff --git a/pkg/compiler/lib/src/ssa/builder_kernel.dart b/pkg/compiler/lib/src/ssa/builder_kernel.dart
index 7ca8e5b5033beaee8bb5a5449cb3b3ab467af85d..c2c992bc7c1bfece35cf0e74eb0d279491c414cd 100644
--- a/pkg/compiler/lib/src/ssa/builder_kernel.dart
+++ b/pkg/compiler/lib/src/ssa/builder_kernel.dart
@@ -1924,7 +1924,7 @@ class KernelSsaBuilder extends ir.Visitor with GraphBuilder {
inputs.add(argList);
}
- assert(constructor.kind == ir.ProcedureKind.Factory);
+ assert(constructor != null && constructor.kind == ir.ProcedureKind.Factory);
ResolutionInterfaceType type = localsHandler
.substInContext(astAdapter.getDartTypeOfMapLiteral(mapLiteral));
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend_impact.dart ('k') | tests/compiler/dart2js_extra/dart2js_extra.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698