示例#1
0
 def __init__(self, allowMem2Mem=True):
     P2Generator.__init__(self, allowMem2Mem)
     self.labelcnt = 1
     self.strlabeldict = {}
示例#2
0
 def visit_x86Function(self, node, *args, **kwargs):
     funcbody = P2Generator.visit_x86Function(self, node)
     return self.get_string_decls() + funcbody
示例#3
0
 def visit_Program(self, node, *args, **kwargs):
     programbody = P2Generator.visit_Program(self, node)
     return self.get_string_decls() + programbody
示例#4
0
 def visit_x86Function(self, node, *args, **kwargs):
     funcbody = P2Generator.visit_x86Function(self,node)
     return self.get_string_decls() + funcbody
示例#5
0
 def __init__(self, allowMem2Mem=True):
     P2Generator.__init__(self, allowMem2Mem)
     self.labelcnt = 1
     self.strlabeldict = {}
示例#6
0
 def visit_Program(self, node, *args, **kwargs):
     programbody = P2Generator.visit_Program(self,node)
     return self.get_string_decls() + programbody