Move unbox/incref from ArrayGet helper into TC
commitf78fd47fc4f4e2ddcbde10a7d3f84dcfe51fb792
authorBrett Simmers <bsimmers@fb.com>
Tue, 26 May 2015 21:46:13 +0000 (26 14:46 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Thu, 28 May 2015 05:30:56 +0000 (27 22:30 -0700)
tree16a18ad8dc9eac3581a502f5dfb7c8c98440fb32
parent73c2c6a2cd40d96da797a0c7467b55ef673f6213
Move unbox/incref from ArrayGet helper into TC

Summary: This allows us to gvn ArrayGet, and once we hook up RAT Array types
for non-packed kinds, the unbox and IncRef can get optimized away when we know
the element type.

Reviewed By: @binliu19

Differential Revision: D2100990
hphp/doc/ir.specification
hphp/runtime/vm/jit/code-gen-minstr-x64.cpp
hphp/runtime/vm/jit/gvn.cpp
hphp/runtime/vm/jit/ir-instruction.cpp
hphp/runtime/vm/jit/irgen-internal.h
hphp/runtime/vm/jit/irgen-minstr.cpp
hphp/runtime/vm/jit/minstr-helpers.h
hphp/runtime/vm/jit/simplify.cpp