Skip to content
Snippets Groups Projects
  1. Aug 25, 2017
  2. Aug 24, 2017
  3. Aug 25, 2017
  4. Aug 24, 2017
  5. Aug 23, 2017
  6. Aug 25, 2017
    • Nathan Froyd's avatar
      Bug 1390568 - manually de-virtualize do_QueryReferent; r=ehsan · c5fa3574
      Nathan Froyd authored
      nsQueryReferent is defined as an nsCOMPtr_helper, which implies that
      calling its operator() method requires a virtual call.  While
      nsQueryReferent is marked `final`, compiler inlining decisions make it
      impossible to de-virtualize the call to operator().  However, we have
      many other classes returned by do_* functions that nsCOMPtr handles
      directly, requiring no extra virtual calls, and we can give
      nsQueryReferent the same treatment.
      c5fa3574
Loading