Arquivos
hhvm/hphp/runtime/base/array
mwilliams c12714e2bb Add bytecodes for some "withRef" operations
Functions like array_filter and array_map need "withRef" semantics,
and while it can be simulated in php via copy-on-write, doing so
is very inefficient.

This adds

  SetWithRefLM
  SetWithRefRM
    - similar to SetM but binds the value if it was a reference. L reads a local, R reads a return value

  WIterInit
  WIterInitK
  WIterNext
  WIterNextK
    - essentially the same as the corresponding opcodes without W, but the value local is set by reference if the array element was a reference.
2013-05-30 17:33:04 -07:00
..
2013-05-24 10:10:17 -07:00
2013-05-24 10:10:17 -07:00
2013-05-20 13:52:25 -07:00
2013-05-30 17:32:58 -07:00
2013-05-15 13:05:06 -07:00
2013-05-15 13:05:06 -07:00
2013-05-15 13:05:06 -07:00
2013-05-15 13:05:06 -07:00
2013-05-30 17:32:59 -07:00
2013-05-24 10:10:17 -07:00
2013-05-24 10:10:17 -07:00
2013-05-24 10:10:17 -07:00
2013-05-20 13:52:24 -07:00