| Index: pkg/compiler/lib/src/js_emitter/type_test_registry.dart
|
| diff --git a/pkg/compiler/lib/src/js_emitter/type_test_registry.dart b/pkg/compiler/lib/src/js_emitter/type_test_registry.dart
|
| index 6f64a813d1375b42349903b5c16331f6cb6b99a0..0a6e271f5faac3cfa354385155c9ddf1b5a5da7a 100644
|
| --- a/pkg/compiler/lib/src/js_emitter/type_test_registry.dart
|
| +++ b/pkg/compiler/lib/src/js_emitter/type_test_registry.dart
|
| @@ -79,8 +79,7 @@ class TypeTestRegistry {
|
| // TODO(karlklose): merge this case with 2 when unifying argument and
|
| // object checks.
|
| RuntimeTypes rti = backend.rti;
|
| - rti.getRequiredArgumentClasses(backend)
|
| - .forEach(addClassWithSuperclasses);
|
| + rti.getRequiredArgumentClasses(backend).forEach(addClassWithSuperclasses);
|
|
|
| // 2. Add classes that are referenced by substitutions in object checks and
|
| // their superclasses.
|
| @@ -106,8 +105,8 @@ class TypeTestRegistry {
|
| return false;
|
| } else if (function.isInstanceMember) {
|
| if (!function.enclosingClass.isClosure) {
|
| - return compiler.codegenWorld.hasInvokedGetter(
|
| - function, compiler.world);
|
| + return compiler.codegenWorld
|
| + .hasInvokedGetter(function, compiler.world);
|
| }
|
| }
|
| return false;
|
| @@ -144,8 +143,8 @@ class TypeTestRegistry {
|
| void computeRequiredTypeChecks() {
|
| assert(checkedClasses == null && checkedFunctionTypes == null);
|
|
|
| - backend.rti.addImplicitChecks(compiler.codegenWorld,
|
| - classesUsingTypeVariableTests);
|
| + backend.rti.addImplicitChecks(
|
| + compiler.codegenWorld, classesUsingTypeVariableTests);
|
|
|
| checkedClasses = new Set<ClassElement>();
|
| checkedFunctionTypes = new Set<FunctionType>();
|
|
|