Index: src/ic/handler-compiler.cc |
diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc |
index 9b10045f80b51d8ca2e88bfceaf0c632b6fc1499..e82a5204ab934b6c26e99b85c9f14d30b30bb71e 100644 |
--- a/src/ic/handler-compiler.cc |
+++ b/src/ic/handler-compiler.cc |
@@ -65,7 +65,10 @@ Handle<Code> NamedLoadHandlerCompiler::ComputeLoadNonexistent( |
// name specific if there are global objects involved. |
Handle<Code> handler = PropertyHandlerCompiler::Find( |
cache_name, stub_holder_map, Code::LOAD_IC, flag); |
- if (!handler.is_null()) return handler; |
+ if (!handler.is_null()) { |
+ TRACE_HANDLER_STATS(isolate, LoadIC_HandlerCacheHit_NonExistent); |
+ return handler; |
+ } |
TRACE_HANDLER_STATS(isolate, LoadIC_LoadNonexistent); |
NamedLoadHandlerCompiler compiler(isolate, receiver_map, last, flag); |