| Index: src/profiler/profile-generator.cc
|
| diff --git a/src/profiler/profile-generator.cc b/src/profiler/profile-generator.cc
|
| index 72e02b360b2cc1f1bb7f1300ad82bfc824f1093c..a25e5cf8995802b55a8785cb29dbecf00ad75fcb 100644
|
| --- a/src/profiler/profile-generator.cc
|
| +++ b/src/profiler/profile-generator.cc
|
| @@ -635,18 +635,8 @@ void CpuProfilesCollection::AddPathToCurrentProfiles(
|
| current_profiles_semaphore_.Signal();
|
| }
|
|
|
| -ProfileGenerator::ProfileGenerator(Isolate* isolate,
|
| - CpuProfilesCollection* profiles)
|
| - : isolate_(isolate), profiles_(profiles) {
|
| - RuntimeCallStats* rcs = isolate_->counters()->runtime_call_stats();
|
| - for (int i = 0; i < RuntimeCallStats::counters_count; ++i) {
|
| - RuntimeCallCounter* counter = &(rcs->*(RuntimeCallStats::counters[i]));
|
| - DCHECK(counter->name());
|
| - auto entry = new CodeEntry(CodeEventListener::FUNCTION_TAG, counter->name(),
|
| - CodeEntry::kEmptyNamePrefix, "native V8Runtime");
|
| - code_map_.AddCode(reinterpret_cast<Address>(counter), entry, 1);
|
| - }
|
| -}
|
| +ProfileGenerator::ProfileGenerator(CpuProfilesCollection* profiles)
|
| + : profiles_(profiles) {}
|
|
|
| void ProfileGenerator::RecordTickSample(const TickSample& sample) {
|
| std::vector<CodeEntry*> entries;
|
|
|