| 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 c1ff34203557e1a85a88203efec3353f8cfa8f1d..040a4ebcb4f890083d3d14b7e43f7c07255f3b5e 100644
|
| --- a/pkg/compiler/lib/src/js_emitter/type_test_registry.dart
|
| +++ b/pkg/compiler/lib/src/js_emitter/type_test_registry.dart
|
| @@ -37,8 +37,9 @@ class TypeTestRegistry {
|
| }
|
|
|
| final Compiler compiler;
|
| + final ClosedWorld closedWorld;
|
|
|
| - TypeTestRegistry(this.compiler);
|
| + TypeTestRegistry(this.compiler, this.closedWorld);
|
|
|
| JavaScriptBackend get backend => compiler.backend;
|
|
|
| @@ -105,8 +106,7 @@ class TypeTestRegistry {
|
| return false;
|
| } else if (function.isInstanceMember) {
|
| if (!function.enclosingClass.isClosure) {
|
| - return compiler.codegenWorld
|
| - .hasInvokedGetter(function, compiler.closedWorld);
|
| + return compiler.codegenWorld.hasInvokedGetter(function, closedWorld);
|
| }
|
| }
|
| return false;
|
|
|