Index: src/compiler/access-info.cc |
diff --git a/src/compiler/access-info.cc b/src/compiler/access-info.cc |
index 866b06086a2042df0f6a811e25c7fa8a1f36ce62..c0bff94baea872a346e971b6592a0f5cf00c5eab 100644 |
--- a/src/compiler/access-info.cc |
+++ b/src/compiler/access-info.cc |
@@ -361,6 +361,7 @@ bool AccessInfoFactory::ComputePropertyAccessInfo( |
if (optimization.api_call_info()->fast_handler()->IsCode()) { |
return false; |
} |
+ if (V8_UNLIKELY(FLAG_runtime_stats)) return false; |
} |
*access_info = PropertyAccessInfo::AccessorConstant( |
MapList{receiver_map}, accessor, holder); |