'Low-level free a memory area allocated with allocate().'

def free(self, builder, ptr):

    self._require_nrt()
    mod = builder.module
    fnty = ir.FunctionType(ir.VoidType(), [cgutils.voidptr_t])
    fn = mod.get_or_insert_function(fnty, name='NRT_Free')
    return builder.call(fn, [ptr])
