Lib.Krakatau.ssa.ssa_jumps.switch.pyc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of krakatau-lib Show documentation
Show all versions of krakatau-lib Show documentation
Assembler, disassebmler, decompiler and compiler tools library for Java.
?
?HRc @ sV d d l m Z d d l m Z d d l m Z d d l Z d e f d ? ? YZ d S( i ( t BaseJumpi ( t
IntConstraint( t Gotoi????Nt Switchc B s, e Z d ? Z d ? Z d ? Z d ? Z RS( c
C s? t t | ? j | | ? | s+ | g } nO t ? } g | f t | ? d D]( } | | k rL | j | ? rL | ^ qL } | | _ t j t ? | _ x7 | D]/ \ } } | | k r? | j | j | ? q? q? Wd S( Ni (
t superR t __init__t sett zipt addt
successorst collectionst defaultdictt reverse(
t selft parentt defaultt tablet argumentst orderedt tsett xt kt v( ( sD /home/alex/projects/github/krakatau/Krakatau/ssa/ssa_jumps/switch.pyR s F c C s | j S( N( R ( R
( ( sD /home/alex/projects/github/krakatau/Krakatau/ssa/ssa_jumps/switch.pyt getNormalSuccessors s c sQ g | j D] } ? j | | ? ^ q
| _ ? f d ? | j j ? D? | _ d S( Nc s+ i | ]! \ } } | ? j | | ? ? q S( ( t get( t .0R R ( t blockDict( sD /home/alex/projects/github/krakatau/Krakatau/ssa/ssa_jumps/switch.pys
s ( R R R t items( R
R t key( ( R sD /home/alex/projects/github/krakatau/Krakatau/ssa/ssa_jumps/switch.pyt
replaceBlocks s +c s? t ? j ? } x! | D] \ } } | j | ? q Wt | ? d k rI d St | ? d k rq t ? j | j ? ? St | ? t ? j ? k r? | ? _ ? f d ? | d D? ? _ n ? S( Ni i c s i | ] } ? j | | ? q S( ( R ( R R ( R
( sD /home/alex/projects/github/krakatau/Krakatau/ssa/ssa_jumps/switch.pys
) s ( t listR t removet lent NoneR R t popR ( R
t
pairsToRemovet tempt childt t( ( R
sD /home/alex/projects/github/krakatau/Krakatau/ssa/ssa_jumps/switch.pyt reduceSuccessors s ( t __name__t
__module__R R R R' ( ( ( sD /home/alex/projects/github/krakatau/Krakatau/ssa/ssa_jumps/switch.pyR s ( t baseR t constraintsR t gotoR R
R ( ( ( sD /home/alex/projects/github/krakatau/Krakatau/ssa/ssa_jumps/switch.pyt s
© 2015 - 2025 Weber Informatics LLC | Privacy Policy