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

Unified Diff: src/ic/ic.cc

Issue 2058063002: Fix stale IC::receiver_map_ after prototype fastification (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | test/mjsunit/regress/regress-crbug-618845.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic.cc
diff --git a/src/ic/ic.cc b/src/ic/ic.cc
index aad2f8718bf2ca01c9328d4aea080954bffce5b0..65aa2fc9178f67559b8e4cf39b9fe98815122e64 100644
--- a/src/ic/ic.cc
+++ b/src/ic/ic.cc
@@ -651,6 +651,7 @@ MaybeHandle<Object> LoadIC::Load(Handle<Object> object, Handle<Name> name) {
if (state() != UNINITIALIZED) {
JSObject::MakePrototypesFast(object, kStartAtReceiver, isolate());
+ update_receiver_map(object);
}
// Named lookup in the object.
LookupIterator it(object, name);
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-crbug-618845.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698