repo.or.cz
/
ScratchABlock.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
github/workflows/pycopy-test: Upgrade Pycopy to 3.6.1.
[ScratchABlock.git]
/
script_func_params_returns.py
blob
520e8cbdc99e8582afa33e756d7167a1d00a413f
1
from
xform
import
*
2
from
dataflow
import
*
3
import
xform_inter
4
5
import
script_preserveds
6
7
cg
=
None
8
9
10
def
init
():
11
global
cg
12
cg
=
xform_inter
.
build_callgraph
()
13
14
15
def
apply
(
cfg
):
16
script_preserveds
.
apply
(
cfg
)
17
collect_call_live_out
(
cfg
)
18
19
xform_inter
.
calc_callsites_live_out
(
cg
,
cfg
.
props
[
"name"
])
20
xform_inter
.
collect_returns
()
21
collect_params
(
cfg
)