Fix trace exit type for IncDecL of boxed values
commit0cd31868193e6e3e10b56d703ea62dbe8dde7391
authorGuilherme Ottoni <ottoni@fb.com>
Sat, 4 May 2013 01:54:17 +0000 (3 18:54 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 7 May 2013 17:55:31 +0000 (7 10:55 -0700)
treecaa22839aba4b7a602ef890a44fd68e8940189f9
parent2d376658d9957b8aaa7139743c37b30281944ea1
Fix trace exit type for IncDecL of boxed values

For accesses to boxed locals, if the inner type changes, we can
retranslate using HHIR: the new translation will inspect the live type
and be able to execute the instruction.  While looking at something
else, I noticed that in such cases IncDecL was taking a slow exit
(which avoids using HHIR).
hphp/runtime/vm/translator/hopt/hhbctranslator.cpp