mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00

This patch reduces the differences between builds where the profiler is enabled and those where the profiler is disabled. It does this by removing numerous MOZ_GECKO_PROFILER checks. These changes have the following consequences. - Various functions and classes are now defined in all builds, and so can be used unconditionally: profiler_add_marker(), profiler_set_js_context(), profiler_clear_js_context(), profiler_get_pseudo_stack(), AutoProfilerLabel. (They are effectively no-ops in non-profiler builds, of course.) - The no-op versions of PROFILER_* are now gone. The remaining versions are almost no-ops when the profiler isn't built. --HG-- extra : rebase_source : 8fb5e8757600210c2f77865694d25162f0b7698a