Index: sdk/lib/_internal/compiler/implementation/compile_time_constants.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart b/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart |
index 8fa9e9890655a75d5c5d3943157597d31a3c2130..fba2e9421e9bb540bedf4bb05d410c6fc89badfc 100644 |
--- a/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart |
+++ b/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart |
@@ -63,7 +63,7 @@ class ConstantHandler extends CompilerTask { |
compiler.enqueuer.codegen.registerInstantiatedType(type, elements); |
if (type is InterfaceType && |
!type.isRaw && |
- compiler.backend.needsRti(type.element)) { |
+ compiler.backend.classNeedsRti(type.element)) { |
registerSetRuntimeTypeInfoFunction(); |
} |
} |