Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 570522 | Differences between
and this patch

Collapse All | Expand All

(-)firefox-43.0.orig/tools/profiler/core/platform-linux.cc (+2 lines)
Lines 710-720 Link Here
710
void TickSample::PopulateContext(void* aContext)
710
void TickSample::PopulateContext(void* aContext)
711
{
711
{
712
  MOZ_ASSERT(aContext);
712
  MOZ_ASSERT(aContext);
713
#if defined(__GLIBC__)
713
  ucontext_t* pContext = reinterpret_cast<ucontext_t*>(aContext);
714
  ucontext_t* pContext = reinterpret_cast<ucontext_t*>(aContext);
714
  if (!getcontext(pContext)) {
715
  if (!getcontext(pContext)) {
715
    context = pContext;
716
    context = pContext;
716
    SetSampleContext(this, aContext);
717
    SetSampleContext(this, aContext);
717
  }
718
  }
719
#endif
718
}
720
}
719
721
720
void OS::SleepMicro(int microseconds)
722
void OS::SleepMicro(int microseconds)

Return to bug 570522