Index: src/profiler/profile-generator.cc |
diff --git a/src/profiler/profile-generator.cc b/src/profiler/profile-generator.cc |
index 553a15a626c65c2fc2dc2f3e67f12c8a248b9168..436f03a721d9867e540243b720bb01b3c2922ee2 100644 |
--- a/src/profiler/profile-generator.cc |
+++ b/src/profiler/profile-generator.cc |
@@ -750,8 +750,8 @@ CodeEntry* ProfileGenerator::FindEntry(void* address) { |
if (start <= address && address < end) { |
RuntimeCallCounter* counter = |
reinterpret_cast<RuntimeCallCounter*>(address); |
- CHECK(counter->name); |
- entry = new CodeEntry(CodeEventListener::FUNCTION_TAG, counter->name, |
+ CHECK(counter->name()); |
+ entry = new CodeEntry(CodeEventListener::FUNCTION_TAG, counter->name(), |
CodeEntry::kEmptyNamePrefix, "native V8Runtime"); |
code_map_.AddCode(reinterpret_cast<Address>(address), entry, 1); |
} |