| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index c8e70931c73171d3f53cfc54a40619ee9c15277a..746865767bbf37f1c436f1d09b3773ea11e7cad3 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -7502,11 +7502,6 @@ void CpuProfiler::StartProfiling(Handle<String> title, bool record_samples) {
|
| }
|
|
|
|
|
| -void CpuProfiler::StartCpuProfiling(Handle<String> title, bool record_samples) {
|
| - StartProfiling(title, record_samples);
|
| -}
|
| -
|
| -
|
| CpuProfile* CpuProfiler::StopProfiling(Handle<String> title) {
|
| return reinterpret_cast<CpuProfile*>(
|
| reinterpret_cast<i::CpuProfiler*>(this)->StopProfiling(
|
| @@ -7514,11 +7509,6 @@ CpuProfile* CpuProfiler::StopProfiling(Handle<String> title) {
|
| }
|
|
|
|
|
| -const CpuProfile* CpuProfiler::StopCpuProfiling(Handle<String> title) {
|
| - return StopProfiling(title);
|
| -}
|
| -
|
| -
|
| void CpuProfiler::SetIdle(bool is_idle) {
|
| i::Isolate* isolate = reinterpret_cast<i::CpuProfiler*>(this)->isolate();
|
| v8::StateTag state = isolate->current_vm_state();
|
| @@ -7599,13 +7589,6 @@ SnapshotObjectId HeapGraphNode::GetId() const {
|
| }
|
|
|
|
|
| -int HeapGraphNode::GetSelfSize() const {
|
| - size_t size = ToInternal(this)->self_size();
|
| - CHECK(size <= static_cast<size_t>(internal::kMaxInt));
|
| - return static_cast<int>(size);
|
| -}
|
| -
|
| -
|
| size_t HeapGraphNode::GetShallowSize() const {
|
| return ToInternal(this)->self_size();
|
| }
|
|
|