Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 02b6be4d3b7a4622a423d2232b9620796177afa7..c5a29decb1ee34a715e980289d93bd20b964aa70 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7205,11 +7205,6 @@ void CpuProfile::Delete() { |
} |
-unsigned CpuProfile::GetUid() const { |
- return reinterpret_cast<const i::CpuProfile*>(this)->uid(); |
-} |
- |
- |
Handle<String> CpuProfile::GetTitle() const { |
i::Isolate* isolate = i::Isolate::Current(); |
const i::CpuProfile* profile = reinterpret_cast<const i::CpuProfile*>(this); |
@@ -7247,11 +7242,6 @@ int CpuProfile::GetSamplesCount() const { |
} |
-int CpuProfiler::GetProfileCount() { |
- return reinterpret_cast<i::CpuProfiler*>(this)->GetProfilesCount(); |
-} |
- |
- |
void CpuProfiler::SetSamplingInterval(int us) { |
ASSERT(us >= 0); |
return reinterpret_cast<i::CpuProfiler*>(this)->set_sampling_interval( |
@@ -7259,12 +7249,6 @@ void CpuProfiler::SetSamplingInterval(int us) { |
} |
-const CpuProfile* CpuProfiler::GetCpuProfile(int index) { |
- return reinterpret_cast<const CpuProfile*>( |
- reinterpret_cast<i::CpuProfiler*>(this)->GetProfile(index)); |
-} |
- |
- |
void CpuProfiler::StartCpuProfiling(Handle<String> title, bool record_samples) { |
reinterpret_cast<i::CpuProfiler*>(this)->StartProfiling( |
*Utils::OpenHandle(*title), record_samples); |
@@ -7278,11 +7262,6 @@ const CpuProfile* CpuProfiler::StopCpuProfiling(Handle<String> title) { |
} |
-void CpuProfiler::DeleteAllCpuProfiles() { |
- reinterpret_cast<i::CpuProfiler*>(this)->DeleteAllProfiles(); |
-} |
- |
- |
void CpuProfiler::SetIdle(bool is_idle) { |
i::Isolate* isolate = reinterpret_cast<i::CpuProfiler*>(this)->isolate(); |
i::StateTag state = isolate->current_vm_state(); |