Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index 30d0456634e3c6de55f0b647dd81e5ca874026aa..be18aafeb6899fc967c875024aed1ab0070c09e2 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -1147,14 +1147,14 @@ Code* PcToCodeCache::GcSafeFindCodeForPc(Address pc) { |
PcToCodeCache::PcToCodeCacheEntry* PcToCodeCache::GetCacheEntry(Address pc) { |
- COUNTERS->pc_to_code()->Increment(); |
+ isolate_->counters()->pc_to_code()->Increment(); |
ASSERT(IsPowerOf2(kPcToCodeCacheSize)); |
uint32_t hash = ComputeIntegerHash( |
static_cast<uint32_t>(reinterpret_cast<uintptr_t>(pc))); |
uint32_t index = hash & (kPcToCodeCacheSize - 1); |
PcToCodeCacheEntry* entry = cache(index); |
if (entry->pc == pc) { |
- COUNTERS->pc_to_code_cached()->Increment(); |
+ isolate_->counters()->pc_to_code_cached()->Increment(); |
ASSERT(entry->code == GcSafeFindCodeForPc(pc)); |
} else { |
// Because this code may be interrupted by a profiling signal that |