Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index c4b446eb62d90d6ea31d8510f375fab3fd41b846..230939fe56ef6bc639b486f810928af1efaebfd1 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -8646,14 +8646,6 @@ |
CallOptimization optimization(function); |
if (!optimization.is_simple_api_call()) return false; |
Handle<Map> holder_map; |
- for (int i = 0; i < receiver_maps->length(); ++i) { |
- auto map = receiver_maps->at(i); |
- // Don't inline calls to receivers requiring accesschecks. |
- if (map->is_access_check_needed() && |
- map->instance_type() != JS_GLOBAL_PROXY_TYPE) { |
- return false; |
- } |
- } |
if (call_type == kCallApiFunction) { |
// Cannot embed a direct reference to the global proxy map |
// as it maybe dropped on deserialization. |