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

Unified Diff: runtime/vm/isolate_reload.cc

Issue 3007603002: [VM generic function reification] Support generic functions in Invocation class. (Closed)
Patch Set: address review comment and sync Created 3 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
Index: runtime/vm/isolate_reload.cc
diff --git a/runtime/vm/isolate_reload.cc b/runtime/vm/isolate_reload.cc
index 4cd67c596e9b5732a6b8fe824b2c01f1ad0044fb..768594f19018e443bbc29b77799a0106ca819c42 100644
--- a/runtime/vm/isolate_reload.cc
+++ b/runtime/vm/isolate_reload.cc
@@ -1326,6 +1326,9 @@ void IsolateReloadContext::RehashConstants() {
Class& cls = Class::Handle(zone_);
const intptr_t top = class_table->NumCids();
for (intptr_t cid = kInstanceCid; cid < top; cid++) {
+ if (cid == kTypeArgumentsCid) {
+ continue;
+ }
if (!class_table->IsValidIndex(cid) || !class_table->HasValidClassAt(cid)) {
// Skip invalid classes.
continue;

Powered by Google App Engine
This is Rietveld 408576698