Index: sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
index 1a25d7328ffb7b32e8c73a03e89a8ffd9d40b62c..b2ad0686849ba4ab0dd2c63c6b335a1026f6048b 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
@@ -142,7 +142,8 @@ class CodeEmitterTask extends CompilerTask { |
void computeRequiredTypeChecks() { |
assert(checkedClasses == null && checkedTypedefs == null); |
- compiler.codegenWorld.addImplicitChecks(classesUsingTypeVariableTests); |
+ backend.rti.addImplicitChecks(compiler.codegenWorld, |
+ classesUsingTypeVariableTests); |
checkedClasses = new Set<ClassElement>(); |
checkedTypedefs = new Set<TypedefElement>(); |