Arquivos
hhvm/hphp/doc
Jan Oravec 1d90b368dc Kill m_localsOffset and free another 16 bytes of memory
Users of m_localsOffset used this offset to calculate pointer where
local variables starts. Since they are stored in the reverse order, the
equation was:

  cont_ptr + m_localsOffset + num_locals - local_id - 1

We are already storing pointer to ActRec (m_arPtr), which is equal to:

  cont_ptr + m_localsOffset + num_locals

This diffs kills m_localsOffset and uses m_arPtr to simplify
calculations. Continuation fields were rearranged so that
sizeof(c_Continuation) is reduced by 16 bytes.
2013-06-07 12:41:30 -07:00
..
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-04-12 12:04:04 -07:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-05-24 09:48:21 -07:00
2013-06-04 17:53:37 -07:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-05-20 13:52:27 -07:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00