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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user