Index: src/lookup-inl.h |
diff --git a/src/lookup-inl.h b/src/lookup-inl.h |
index d87221e7c913d60be0ebbc8938e47f13e87482fe..022bf7d07b1619aa8dfefb5af0501bb7d14509ed 100644 |
--- a/src/lookup-inl.h |
+++ b/src/lookup-inl.h |
@@ -36,12 +36,8 @@ LookupIterator::State LookupIterator::LookupInHolder(Map* map) { |
DisallowHeapAllocation no_gc; |
switch (state_) { |
case NOT_FOUND: |
- if (map->IsJSProxyMap()) { |
- return JSPROXY; |
- } |
- if (check_access_check() && map->is_access_check_needed()) { |
- return ACCESS_CHECK; |
- } |
+ if (map->IsJSProxyMap()) return JSPROXY; |
+ if (map->is_access_check_needed()) return ACCESS_CHECK; |
// Fall through. |
case ACCESS_CHECK: |
if (check_interceptor() && map->has_named_interceptor()) { |