A small step towards cleaner separation of the different translation stages.
This merely removes concretetype
as an attribute of Constant
and creates a subclass rpython.rtyper.rmodel.LLConstant
which still accepts it. Also adds to rpython.rtyper.rmodel
the following utility function, which had already been implemented 3 times in random places:
def ll_const(obj):
return LLConstant(obj, typeOf(obj))