Arquivos
hhvm/hphp/runtime/base/array
Edwin Smith ada27dfc01 Use KindOfInvalid instead of KindOfTombstone
KindOfInvalid is -1, so IS_REFCOUNTED_TYPE() == false, which
will allow skipping a few tombstone checks in future array work.
But also, it avoids declaring a magic constant outside the
DataType enum, and sometimes gcc can generate better code for
comparisons with 0 (ie type<0) than it can for 0x62, the value
of KindOfTombstone.
2013-06-27 10:38:23 -07:00
..
2013-06-03 12:43:56 -07:00