Index: pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart |
diff --git a/pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart b/pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart |
index 664cf2ef8f2b16ce086ed95d4f0e64b84ecc642e..2d2d5ff1ba9df4294fa814a05b5d0c88aaa056d9 100644 |
--- a/pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart |
+++ b/pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart |
@@ -23,7 +23,7 @@ class RastaSsaBuilderTask extends SsaAstBuilderBase { |
HGraph build(ElementCodegenWorkItem work, ClosedWorld closedWorld) { |
return measure(() { |
- if (handleConstantField(work.element, work.registry, closedWorld)) { |
+ if (handleConstantField(work, closedWorld)) { |
// No code is generated for `work.element`. |
return null; |
} |