• Iustin Pop's avatar
    Move all iallocator functions into a class · d1c2dd75
    Iustin Pop authored
    This patch moves all the iallocator function into a separate class that
    is then somewhat easier to use. It doesn't bring any new functionality.
    The patch also changes the way the iallocator is called - the
    OpTestAllocator opcode is no longer needed, and all its parameters
    should be passed directly to the IAllocator constructor.
    Reviewed-by: ultrotter
cmdlib.py 169 KB