From the figure, we see that variables A and B are defined on link (1,2). It is evident that any path taken for the graph will traverse through (1,2) . Hence the criterion for variables A & B as per ADUP is satisfied. But we have a redefinition at link (3,4). Variable C will not satisfy ADUP if only the path (1,3) is taken, thus violating the ADUP definition. ADUP becomes complicated when a variable is redefined in many places.
á Gá £ ¦ *#
¦ á
Begin
&
'
(
)
,
End
+
# " G'#(#)£ G'#)£ +á #
# G)#,£ G'#(#)£G'#)£
á Gá| ! £ 2 ample: á Begin
&
'
(
)
End
From the figure, we see that variables A and B are defined on link (1,2). It is evident that any path taken for the graph will traverse through (1,2) . Hence the criterion for variables A & B as per ADUP is satisfied. But we have a redefinition at link (3,4). Variable C will not satisfy ADUP if only the path (1,3) is taken, thus violating the ADUP definition. ADUP becomes complicated when a variable is redefined in many places.
á - Gá! .D£ ¦ +
## ¦ Gá! .D£ # "
+
#
" #
á - Gá! .D £ Flow graph annotated for variable Z
! !! ( 0 ' ) 2 Begin & ,
3 End
Z
¦ +Gá! .D£ # !" + !" # "
¦ / $ G'£#G(#)£#G)#,£#G,#0£
1 $ G'#(£#G0#2£#G #3£
1#
"
á - GáD "!£ ¦ + # #
G $ £ ¦ | GáD .!£
á - GáD "! £ Flow graph annotated for variable Y Begin
Thank you for interesting in our services. We are a non-profit group that run this website to share documents. We need your help to maintenance this website.