Bug 1359000 (part 4) - De-inline profiler_call_{enter,exit}. r=mstange.

This possibly incurs an extra function call (depends on exactly how much inling
the compiler does). But it helps enormously with subsequent refactorings,
because PseudoStack (and related types) don't need to be visible in
GeckoProfiler.h, which is exported outside the profiler.
This commit is contained in:
Nicholas Nethercote
2017-04-27 07:36:11 +10:00
parent 43a4a5e777
commit c4b55083ae
5 changed files with 66 additions and 56 deletions

View File

@@ -12,6 +12,9 @@
#ifdef MOZ_THREADSTACKHELPER_NATIVE
#include "shared-libraries.h"
#endif
#ifdef MOZ_THREADSTACKHELPER_PSEUDO
#include "PseudoStack.h"
#endif
#include "mozilla/Assertions.h"
#include "mozilla/Attributes.h"