view python/irmach.py @ 263:c352dec19299

Added gcc arm runner
author Windel Bouwman
date Fri, 09 Aug 2013 16:28:50 +0200
parents 444b9df2ed99
children 5ec7580976d9
line wrap: on
line source



class MachProgram:
    pass


class MachFunction:
    def __init__(self, name):
        self.name = name
        self.entry = None


class MachBlock:
    def __init__(self):
        self.instructions = []


class MachIns:
    """ Absract machine instruction """
    def __init__(self, mi):
        self.mi = mi