github/workflows/pycopy-test: Upgrade Pycopy to 3.6.1.
[ScratchABlock.git] / script_func_params_returns.py
blob520e8cbdc99e8582afa33e756d7167a1d00a413f
1 from xform import *
2 from dataflow import *
3 import xform_inter
5 import script_preserveds
7 cg = None
10 def init():
11 global cg
12 cg = xform_inter.build_callgraph()
15 def apply(cfg):
16 script_preserveds.apply(cfg)
17 collect_call_live_out(cfg)
19 xform_inter.calc_callsites_live_out(cg, cfg.props["name"])
20 xform_inter.collect_returns()
21 collect_params(cfg)