Index: runtime/vm/intermediate_language_dbc.cc |
diff --git a/runtime/vm/intermediate_language_dbc.cc b/runtime/vm/intermediate_language_dbc.cc |
index 494ae42b3073d0011360e1c9ed514422feec30f2..aa79ecf8585d666cf9e069360b8f3aaf5b20be66 100644 |
--- a/runtime/vm/intermediate_language_dbc.cc |
+++ b/runtime/vm/intermediate_language_dbc.cc |
@@ -720,6 +720,10 @@ EMIT_NATIVE_CODE(StoreIndexed, 3, Location::NoLocation(), |
__ StoreIndexedUint8(array, index, value); |
} |
break; |
+ case kOneByteStringCid: |
+ ASSERT(index_scale() == 1); |
+ __ StoreIndexedOneByteString(array, index, value); |
+ break; |
case kTypedDataInt32ArrayCid: |
case kTypedDataUint32ArrayCid: { |
if (IsExternal()) { |
@@ -765,6 +769,7 @@ EMIT_NATIVE_CODE(LoadIndexed, 2, Location::RequiresRegister(), |
const Register result = locs()->out(0).reg(); |
switch (class_id()) { |
case kArrayCid: |
+ case kImmutableArrayCid: |
__ LoadIndexed(result, array, index); |
break; |
case kTypedDataUint8ArrayCid: |