diff options
| author | Camille Mougey <commial@gmail.com> | 2018-02-09 15:25:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-09 15:25:25 +0100 |
| commit | c2e52be18ddd2eeb86b413e851a3ade0ceeca1dc (patch) | |
| tree | ac0d8a4cc054b283f524846757344e556325a912 /test/analysis/data_flow.py | |
| parent | 47811fe5a56c8071ab5064e1f84ca64389941eec (diff) | |
| parent | 00a5a16d47a32f1a483ba625fa9bd5c6eb460542 (diff) | |
| download | focaccia-miasm-c2e52be18ddd2eeb86b413e851a3ade0ceeca1dc.tar.gz focaccia-miasm-c2e52be18ddd2eeb86b413e851a3ade0ceeca1dc.zip | |
Merge pull request #673 from serpilliere/fix_irs
irs => assignblks
Diffstat (limited to 'test/analysis/data_flow.py')
| -rw-r--r-- | test/analysis/data_flow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/analysis/data_flow.py b/test/analysis/data_flow.py index 2c24773a..f2e30172 100644 --- a/test/analysis/data_flow.py +++ b/test/analysis/data_flow.py @@ -635,7 +635,7 @@ G17_EXP_IRB0 = gen_irblock(LBL0, [[], ExprAff(b, a), ExprAff(c, b)], - G17_IRB0.irs[14] + G17_IRB0[14] # Trick because a+b+c != ((a+b)+c) ]) @@ -684,4 +684,4 @@ for test_nb, test in enumerate([(G1_IRA, G1_EXP_IRA), # Check that each expr in the blocks are the same for lbl, irb in g_ira.blocks.iteritems(): exp_irb = g_exp_ira.blocks[lbl] - assert exp_irb.irs == irb.irs + assert exp_irb.assignblks == irb.assignblks |