Index: sdk/lib/_internal/compiler/implementation/js_backend/custom_elements_analysis.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/custom_elements_analysis.dart b/sdk/lib/_internal/compiler/implementation/js_backend/custom_elements_analysis.dart |
index ade211ddbe654163898b5bd17ebf8f0c732845bc..9a5c8e987940a9ec62bb27bc9291ab808012f7ee 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_backend/custom_elements_analysis.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/custom_elements_analysis.dart |
@@ -166,7 +166,7 @@ class CustomElementsAnalysisJoin { |
.forEach(compiler.globalDependencies.registerDependency); |
// Force the generaton of the type constant that is the key to an entry |
// in the generated table. |
- Constant constant = makeTypeConstant(classElement); |
+ ConstantValue constant = makeTypeConstant(classElement); |
backend.registerCompileTimeConstant( |
constant, compiler.globalDependencies); |
backend.constants.addCompileTimeConstantForEmission(constant); |
@@ -176,10 +176,10 @@ class CustomElementsAnalysisJoin { |
instantiatedClasses.removeAll(newActiveClasses); |
} |
- TypeConstant makeTypeConstant(ClassElement element) { |
+ TypeConstantValue makeTypeConstant(ClassElement element) { |
DartType elementType = element.rawType; |
DartType constantType = backend.typeImplementation.rawType; |
- return new TypeConstant(elementType, constantType); |
+ return new TypeConstantValue(elementType, constantType); |
} |
List<Element> computeEscapingConstructors(ClassElement classElement) { |