Better constraints for collection ops in guard constriction
commit3d0f8e518346e4187edfbaaf2a1716cba4a6b92a
authorBrett Simmers <bsimmers@fb.com>
Thu, 21 May 2015 14:39:55 +0000 (21 07:39 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Thu, 28 May 2015 05:31:00 +0000 (27 22:31 -0700)
treeb6afdbd7e499687d6fb39094b3c6a086e96397ae
parentf78fd47fc4f4e2ddcbde10a7d3f84dcfe51fb792
Better constraints for collection ops in guard constriction

Summary: This refactors things a little so collection and array operations
should use the same constraints on the base as guard relaxation. There are
probably still some differences for when object bases are constrained, but
we'll see how this affects performance.

Reviewed By: @ottoni

Differential Revision: D2091605
hphp/runtime/vm/jit/guard-relaxation.cpp
hphp/runtime/vm/jit/irgen-minstr.cpp
hphp/runtime/vm/jit/irgen.h
hphp/runtime/vm/jit/translator.cpp