Fix some tracelet region selector stuff
commiteabf102c46b3a96b30016e8d3606dde14e69bc1b
authorbsimmers <bsimmers@fb.com>
Mon, 3 Mar 2014 18:25:25 +0000 (3 10:25 -0800)
committerSara Golemon <sgolemon@fb.com>
Wed, 5 Mar 2014 20:52:47 +0000 (5 12:52 -0800)
tree39ffe793b23d4281100a27484a7d60ce1d2596a1
parent6ea22f4bcb2362453de0ce862b9a643b577e31fe
Fix some tracelet region selector stuff

When an inlined FCall has its output marked as predicted, analyze
handles it as though the call weren't inlined, so it ends up predicting the
output type of the inlined call. Since NormalizedInstructions aren't persistent
in selectTracelet, keep track of the return type prediction, if any, when
entering an inlined call.

Get rid of the unused startSk argument from outputIsPredicted.

Reviewed By: @ottoni

Differential Revision: D1199827
hphp/runtime/vm/jit/extra-data.h
hphp/runtime/vm/jit/hhbc-translator.cpp
hphp/runtime/vm/jit/hhbc-translator.h
hphp/runtime/vm/jit/region-tracelet.cpp
hphp/runtime/vm/jit/translator.cpp
hphp/runtime/vm/jit/translator.h