| Index: sdk/lib/_internal/compiler/implementation/ssa/invoke_dynamic_specializers.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/invoke_dynamic_specializers.dart b/sdk/lib/_internal/compiler/implementation/ssa/invoke_dynamic_specializers.dart
|
| index 3eb366892bce7694e68afaf106949c00fc7e7c6d..74e40bfc0f003ddef0fad3d6bd98c53605f25968 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/invoke_dynamic_specializers.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/invoke_dynamic_specializers.dart
|
| @@ -99,7 +99,7 @@ class IndexAssignSpecializer extends InvokeDynamicSpecializer {
|
|
|
| HInstruction tryConvertToBuiltin(HInvokeDynamic instruction,
|
| Compiler compiler) {
|
| - if (instruction.inputs[1].isMutableArray()) {
|
| + if (instruction.inputs[1].isMutableIndexable(compiler)) {
|
| return new HIndexAssign(instruction.inputs[1],
|
| instruction.inputs[2],
|
| instruction.inputs[3],
|
| @@ -129,7 +129,7 @@ class IndexSpecializer extends InvokeDynamicSpecializer {
|
|
|
| HInstruction tryConvertToBuiltin(HInvokeDynamic instruction,
|
| Compiler compiler) {
|
| - if (instruction.inputs[1].isIndexablePrimitive()) {
|
| + if (instruction.inputs[1].isIndexable(compiler)) {
|
| return new HIndex(
|
| instruction.inputs[1], instruction.inputs[2], instruction.selector);
|
| }
|
|
|