Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index c1cd5d1fde95a109677a858f789cc3c846460c31..096d0afccbf04a6ebd60c7d53e3a98c432323a56 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -13218,8 +13218,7 @@ static int GetGlobalObjectsCount() { |
count++; |
} |
} |
- // Subtract one to compensate for the code stub context that is always present |
- return count - 1; |
+ return count; |
} |