зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1357829 - Part 3: Remove profiler_get_stack_top, r=njn
MozReview-Commit-ID: C4DvuOvYSrs
This commit is contained in:
Родитель
7121551189
Коммит
3e295cfe16
|
@ -3089,17 +3089,6 @@ profiler_clear_js_context()
|
|||
info->mContext = nullptr;
|
||||
}
|
||||
|
||||
void*
|
||||
profiler_get_stack_top()
|
||||
{
|
||||
PSAutoLock lock(gPSMutex);
|
||||
ThreadInfo* threadInfo = FindLiveThreadInfo(lock);
|
||||
if (threadInfo) {
|
||||
return threadInfo->StackTop();
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int
|
||||
profiler_current_thread_id()
|
||||
{
|
||||
|
|
|
@ -382,12 +382,6 @@ PROFILER_FUNC(double profiler_time(), 0)
|
|||
|
||||
PROFILER_FUNC_VOID(profiler_log(const char* aStr))
|
||||
|
||||
// Gets the stack top of the current thread.
|
||||
//
|
||||
// The thread must have been previously registered with the profiler, otherwise
|
||||
// this method will return nullptr.
|
||||
PROFILER_FUNC(void* profiler_get_stack_top(), nullptr)
|
||||
|
||||
PROFILER_FUNC(int profiler_current_thread_id(), 0)
|
||||
|
||||
// This method suspends the thread identified by aThreadId, optionally samples
|
||||
|
|
Загрузка…
Ссылка в новой задаче