예제 #1
0
def inline(ast, M):
    return Front.procedure_prune(Front.inline(ast), M.entry_points)
예제 #2
0
파일: passes.py 프로젝트: wuzy2d/copperhead
def inline(ast, M):
    return Front.procedure_prune(Front.inline(ast, M), M.entry_points)
예제 #3
0
파일: passes.py 프로젝트: WuCPMark/TFJ
def procedure_prune(ast, M):
    'Remove procedures which are orphaned after inlining'
    return Front.procedure_prune(ast, M.toplevel)