Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 4e88211713ce4ee6668632634808d62ffd12339e..f016e550265a83bc0231c5ffc6d55e4f6e50174a 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -1130,12 +1130,8 @@ void LoadIC::UpdateCaches(LookupIterator* lookup) { |
lookup->state() == LookupIterator::ACCESS_CHECK) { |
code = slow_stub(); |
} else if (!lookup->IsFound()) { |
- if (IsLoadIC() || IsLoadGlobalIC()) { |
- TRACE_HANDLER_STATS(isolate(), LoadIC_LoadNonexistentDH); |
- code = LoadNonExistent(receiver_map(), lookup->name()); |
- } else { |
- code = slow_stub(); |
- } |
+ TRACE_HANDLER_STATS(isolate(), LoadIC_LoadNonexistentDH); |
+ code = LoadNonExistent(receiver_map(), lookup->name()); |
} else { |
if (IsLoadGlobalIC() && lookup->state() == LookupIterator::DATA && |
lookup->GetReceiver().is_identical_to(lookup->GetHolder<Object>())) { |