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

Unified Diff: src/compiler/js-native-context-specialization.cc

Issue 2930433003: [turbofan] Try to update deprecated maps first. (Closed)
Patch Set: Created 3 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-724608.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-native-context-specialization.cc
diff --git a/src/compiler/js-native-context-specialization.cc b/src/compiler/js-native-context-specialization.cc
index e6a7594124de8c338bb5e3439dd0570f2f721aa1..57feed65658c3892ffc03b3cf23c2b469b446944 100644
--- a/src/compiler/js-native-context-specialization.cc
+++ b/src/compiler/js-native-context-specialization.cc
@@ -1881,6 +1881,8 @@ Reduction JSNativeContextSpecialization::ReduceJSStoreDataPropertyInLiteral(
}
Handle<Map> receiver_map(map, isolate());
+ if (!Map::TryUpdate(receiver_map).ToHandle(&receiver_map)) return NoChange();
+
Handle<Name> cached_name =
handle(Name::cast(nexus.GetFeedbackExtra()), isolate());
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-crbug-724608.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698