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

Unified Diff: src/ic/ic.cc

Issue 2598543003: [runtime][ic] Constant field tracking support. (Closed)
Patch Set: Created 3 years, 11 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: src/ic/ic.cc
diff --git a/src/ic/ic.cc b/src/ic/ic.cc
index 01c1650e4307c9aa4f788170b1b7cfac7a27f2f7..043e32978296a742bb4cae6c7eddc4bd53e03630 100644
--- a/src/ic/ic.cc
+++ b/src/ic/ic.cc
@@ -2047,6 +2047,7 @@ Handle<Object> StoreIC::GetMapIndependentHandler(LookupIterator* lookup) {
int descriptor = lookup->GetFieldDescriptorIndex();
FieldIndex index = lookup->GetFieldIndex();
return StoreHandler::StoreField(isolate(), descriptor, index,
+ lookup->constness(),
lookup->representation());
}
« no previous file with comments | « src/ic/handler-configuration-inl.h ('k') | src/json-parser.cc » ('j') | src/lookup.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698