Index: src/ic/handler-compiler.cc |
diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc |
index 2c8c0925aa37cd5d83d73b8869d8fb74310d1af4..944aecc9254c3fbe6f00fede2379ca2e82436405 100644 |
--- a/src/ic/handler-compiler.cc |
+++ b/src/ic/handler-compiler.cc |
@@ -593,7 +593,8 @@ void ElementHandlerCompiler::CompileElementHandlers( |
*receiver_map == isolate()->get_initial_js_array_map(elements_kind)); |
if (receiver_map->has_indexed_interceptor() && |
- !receiver_map->GetIndexedInterceptor()->getter()->IsUndefined() && |
+ !receiver_map->GetIndexedInterceptor()->getter()->IsUndefined( |
+ isolate()) && |
!receiver_map->GetIndexedInterceptor()->non_masking()) { |
cached_stub = LoadIndexedInterceptorStub(isolate()).GetCode(); |
} else if (IsSloppyArgumentsElements(elements_kind)) { |