def op_length_of_simple_gcarray_from_opaque(self, obj): checkptr(obj) return lltype.length_of_simple_gcarray_from_opaque(obj)
def _ll_len_of_d_indexes(d): # xxx Haaaack: returns len(d.indexes). Works independently of # the exact type pointed to by d, using a forced cast... # Must only be called by @jit.dont_look_inside functions. return lltype.length_of_simple_gcarray_from_opaque(d.indexes)