def __init__(self, allowMem2Mem=True): P2Generator.__init__(self, allowMem2Mem) self.labelcnt = 1 self.strlabeldict = {}
def visit_x86Function(self, node, *args, **kwargs): funcbody = P2Generator.visit_x86Function(self, node) return self.get_string_decls() + funcbody
def visit_Program(self, node, *args, **kwargs): programbody = P2Generator.visit_Program(self, node) return self.get_string_decls() + programbody
def visit_x86Function(self, node, *args, **kwargs): funcbody = P2Generator.visit_x86Function(self,node) return self.get_string_decls() + funcbody
def visit_Program(self, node, *args, **kwargs): programbody = P2Generator.visit_Program(self,node) return self.get_string_decls() + programbody