Index: pkg/compiler/lib/src/js_backend/backend.dart |
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart |
index 409d88ef4c5350412eb5642c4f2a7360e1c2cf97..a49c63a77d04561f9e5d50028e728fd93bff42c2 100644 |
--- a/pkg/compiler/lib/src/js_backend/backend.dart |
+++ b/pkg/compiler/lib/src/js_backend/backend.dart |
@@ -904,8 +904,8 @@ class JavaScriptBackend { |
/// Creates an [Enqueuer] for code generation specific to this backend. |
CodegenEnqueuer createCodegenEnqueuer( |
CompilerTask task, Compiler compiler, ClosedWorld closedWorld) { |
- _typeVariableCodegenAnalysis = |
- new TypeVariableCodegenAnalysis(this, helpers, mirrorsData); |
+ _typeVariableCodegenAnalysis = new TypeVariableCodegenAnalysis( |
+ compiler.elementEnvironment, this, helpers, mirrorsData); |
_lookupMapAnalysis = new LookupMapAnalysis( |
reporter, |
constantSystem, |