diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2020-08-26 06:57:39 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2020-08-31 07:50:01 +0200 |
| commit | 6f5cb3bef180400001541f56f704f77da0d73429 (patch) | |
| tree | b26d1cfdd80fae8a7a51fd7468db09acd5cf3414 /test | |
| parent | 80e40a3d2ca735db955807ad0605b43ca22e4e35 (diff) | |
| download | miasm-6f5cb3bef180400001541f56f704f77da0d73429.tar.gz miasm-6f5cb3bef180400001541f56f704f77da0d73429.zip | |
IRBlock take loc_db
Diffstat (limited to '')
| -rw-r--r-- | test/analysis/data_flow.py | 2 | ||||
| -rw-r--r-- | test/analysis/depgraph.py | 2 | ||||
| -rw-r--r-- | test/analysis/unssa.py | 4 | ||||
| -rw-r--r-- | test/ir/reduce_graph.py | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/test/analysis/data_flow.py b/test/analysis/data_flow.py index 98efecbe..47d521bc 100644 --- a/test/analysis/data_flow.py +++ b/test/analysis/data_flow.py @@ -51,7 +51,7 @@ def gen_irblock(label, exprs_list): irs.append(AssignBlock(exprs)) irs.append(AssignBlock({IRDst:dummy})) - irbl = IRBlock(label, irs) + irbl = IRBlock(loc_db, label, irs) return irbl diff --git a/test/analysis/depgraph.py b/test/analysis/depgraph.py index eb6507dc..a458e533 100644 --- a/test/analysis/depgraph.py +++ b/test/analysis/depgraph.py @@ -68,7 +68,7 @@ def gen_irblock(label, exprs_list): else: irs.append(AssignBlock(exprs)) - irbl = IRBlock(label, irs) + irbl = IRBlock(loc_db, label, irs) return irbl diff --git a/test/analysis/unssa.py b/test/analysis/unssa.py index 2bfe9254..5844bfb4 100644 --- a/test/analysis/unssa.py +++ b/test/analysis/unssa.py @@ -56,7 +56,7 @@ def gen_irblock(label, exprs_list): else: irs.append(AssignBlock(exprs)) - irbl = IRBlock(label, irs) + irbl = IRBlock(loc_db, label, irs) return irbl @@ -587,7 +587,7 @@ def add_out_reg_end(ir_arch_a, ircfg_a): assignblks = list(irblock) new_assiblk = AssignBlock(regs, assignblks[-1].instr) assignblks.append(new_assiblk) - new_irblock = IRBlock(irblock.loc_key, assignblks) + new_irblock = IRBlock(loc_db, irblock.loc_key, assignblks) ircfg_a.blocks[loc] = new_irblock diff --git a/test/ir/reduce_graph.py b/test/ir/reduce_graph.py index 8835b4aa..73af4860 100644 --- a/test/ir/reduce_graph.py +++ b/test/ir/reduce_graph.py @@ -95,7 +95,7 @@ def gen_irblock(label, exprs_list): else: irs.append(AssignBlock(exprs)) - irbl = IRBlock(label, irs) + irbl = IRBlock(loc_db, label, irs) return irbl |