| Index: pkg/compiler/lib/src/ssa/invoke_dynamic_specializers.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/invoke_dynamic_specializers.dart b/pkg/compiler/lib/src/ssa/invoke_dynamic_specializers.dart
|
| index ffdb95b29a83515c444a11800554b9a80f1bac52..78db3d713bcaa26333014059184437a9037efe5f 100644
|
| --- a/pkg/compiler/lib/src/ssa/invoke_dynamic_specializers.dart
|
| +++ b/pkg/compiler/lib/src/ssa/invoke_dynamic_specializers.dart
|
| @@ -5,7 +5,8 @@
|
| import '../compiler.dart' show Compiler;
|
| import '../constants/constant_system.dart';
|
| import '../constants/values.dart';
|
| -import '../elements/elements.dart';
|
| +import '../elements/elements.dart' show Name;
|
| +import '../elements/entities.dart';
|
| import '../js_backend/js_backend.dart';
|
| import '../types/types.dart';
|
| import '../universe/call_structure.dart';
|
| @@ -385,7 +386,6 @@ class RemainderSpecializer extends BinaryArithmeticSpecializer {
|
|
|
| HInstruction newBuiltinVariant(
|
| HInvokeDynamic instruction, Compiler compiler, ClosedWorld closedWorld) {
|
| - JavaScriptBackend backend = compiler.backend;
|
| return new HRemainder(
|
| instruction.inputs[1],
|
| instruction.inputs[2],
|
| @@ -746,7 +746,7 @@ class EqualsSpecializer extends RelationalSpecializer {
|
| if (right.isConstantNull() || left.isPrimitiveOrNull(closedWorld)) {
|
| return newBuiltinVariant(instruction, closedWorld);
|
| }
|
| - Iterable<Element> matches =
|
| + Iterable<MemberEntity> matches =
|
| closedWorld.allFunctions.filter(instruction.selector, instructionType);
|
| // This test relies the on `Object.==` and `Interceptor.==` always being
|
| // implemented because if the selector matches by subtype, it still will be
|
|
|