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 aa5db2a398a54429fa6111be386777ca7f861a60..25fe15b6c458fb75231659f12bc13182d7bf669f 100644 |
--- a/src/compiler/js-native-context-specialization.cc |
+++ b/src/compiler/js-native-context-specialization.cc |
@@ -1282,13 +1282,7 @@ Reduction JSNativeContextSpecialization::ReduceJSStoreDataPropertyInLiteral( |
DCHECK_EQ(MONOMORPHIC, nexus.ic_state()); |
- Map* map = nexus.FindFirstMap(); |
- if (map == nullptr) { |
- // Maps are weakly held in the type feedback vector, we may not have one. |
- return NoChange(); |
- } |
- |
- Handle<Map> receiver_map(map, isolate()); |
+ Handle<Map> receiver_map(nexus.FindFirstMap(), isolate()); |
Handle<Name> cached_name = |
handle(Name::cast(nexus.GetFeedbackExtra()), isolate()); |