Index: test/cctest/test-decls.cc |
diff --git a/test/cctest/test-decls.cc b/test/cctest/test-decls.cc |
index 84b6ca6485db6aa28426df60d420be388992c582..347ca9a6bc89229302686e6ad923996c69057f06 100644 |
--- a/test/cctest/test-decls.cc |
+++ b/test/cctest/test-decls.cc |
@@ -130,6 +130,10 @@ void DeclarationContext::InitializeIfNeeded() { |
context_.Reset(isolate, context); |
context->Enter(); |
is_initialized_ = true; |
+ // Reset counts. Bootstrapping might have called into the interceptor. |
+ get_count_ = 0; |
+ set_count_ = 0; |
+ query_count_ = 0; |
PostInitializeContext(context); |
} |