Simplify CountArrayFast based on RAT array types
commitaddba9674c7bdc1e079a63de997345c3c4600652
authorJordan DeLong <jdelong@fb.com>
Thu, 28 May 2015 23:54:28 +0000 (28 16:54 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Wed, 3 Jun 2015 19:02:26 +0000 (3 12:02 -0700)
tree1af697d162dca8d51bb7f4ca64177df32d3ea64f
parent7a4a3290c2292bb516112305aa53fa5c11f9c69d
Simplify CountArrayFast based on RAT array types

Summary: If we know the size of an array we can just use it.

Reviewed By: @swtaarrs

Differential Revision: D2109313
hphp/runtime/vm/jit/simplify.cpp