mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS) - Stub out several profiler-only functions.
This commit is contained in:
parent
3fe8aff3f5
commit
1a823f5ad6
113 changed files with 12 additions and 24501 deletions
|
|
@ -2811,13 +2811,6 @@ WorkerThreadPrimaryRunnable::Run()
|
|||
}
|
||||
|
||||
{
|
||||
#ifdef MOZ_ENABLE_PROFILER_SPS
|
||||
PseudoStack* stack = mozilla_get_pseudo_stack();
|
||||
if (stack) {
|
||||
stack->sampleContext(cx);
|
||||
}
|
||||
#endif
|
||||
|
||||
{
|
||||
JSAutoRequest ar(cx);
|
||||
|
||||
|
|
@ -2829,12 +2822,6 @@ WorkerThreadPrimaryRunnable::Run()
|
|||
}
|
||||
|
||||
BackgroundChild::CloseForCurrentThread();
|
||||
|
||||
#ifdef MOZ_ENABLE_PROFILER_SPS
|
||||
if (stack) {
|
||||
stack->sampleContext(nullptr);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// There may still be runnables on the debugger event queue that hold a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue