Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(800)

Unified Diff: runtime/vm/intermediate_language_dbc.cc

Issue 2270483002: DBC: Fix more HTTP benchmark bailouts (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/constants_dbc.h ('k') | runtime/vm/simulator_dbc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « runtime/vm/constants_dbc.h ('k') | runtime/vm/simulator_dbc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698