Branch: Tag:

2012-12-30

2012-12-30 01:09:12 by 0

Fix overoptimization introduced in a2bcc741ff6 where two empty mappings could
be considered different in some cases (observed in the JSON testsuite).

122:   }      static INLINE int check_type_overlaps(TYPE_FIELD t1, TYPE_FIELD t2) { -  return t1 & t2 || (t1|t2) & BIT_OBJECT; +  return (!t1 && !t2) || t1 & t2 || (t1|t2) & BIT_OBJECT;   }      #ifdef PIKE_DEBUG