mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +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
|
|
@ -73,24 +73,10 @@ protected:
|
|||
|
||||
MOZ_IS_CLASS_INIT
|
||||
void Init() {
|
||||
#ifdef MOZ_ENABLE_PROFILER_SPS
|
||||
mPseudoStackHack = mozilla_get_pseudo_stack();
|
||||
#endif
|
||||
}
|
||||
|
||||
void CleanUp() {
|
||||
#ifdef MOZ_ENABLE_PROFILER_SPS
|
||||
mPseudoStackHack = nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
#ifdef MOZ_ENABLE_PROFILER_SPS
|
||||
// This is needed to avoid a spurious leak report. There's no other
|
||||
// use for it. See bug 1239504 and bug 1215265.
|
||||
MOZ_INIT_OUTSIDE_CTOR PseudoStack* mPseudoStackHack;
|
||||
#endif
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue