diff options
| author | Camille Mougey <commial@gmail.com> | 2017-04-20 12:58:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-20 12:58:40 +0200 |
| commit | 4f5206dd8774a82ed2c864f4e6fe2d512f9d4408 (patch) | |
| tree | 418429f7a3cdedf5efdf074126bc76dbd04f9657 /test/analysis/depgraph.py | |
| parent | ff981a11ef71960a239ec44295f06bb384124521 (diff) | |
| parent | 4d511eab15845e519e5a8b0d9f742a550768b709 (diff) | |
| download | miasm-4f5206dd8774a82ed2c864f4e6fe2d512f9d4408.tar.gz miasm-4f5206dd8774a82ed2c864f4e6fe2d512f9d4408.zip | |
Merge pull request #528 from serpilliere/assignblock_ro
Assignblock ro
Diffstat (limited to '')
| -rw-r--r-- | test/analysis/depgraph.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/analysis/depgraph.py b/test/analysis/depgraph.py index 005ab32c..63313861 100644 --- a/test/analysis/depgraph.py +++ b/test/analysis/depgraph.py @@ -50,10 +50,9 @@ LBL5 = AsmLabel("lbl5") LBL6 = AsmLabel("lbl6") def gen_irblock(label, exprs_list): - """ Returns an IRBlock with empty lines. + """ Returns an IRBlock. Used only for tests purpose """ - lines = [None for _ in xrange(len(exprs_list))] irs = [] for exprs in exprs_list: if isinstance(exprs, AssignBlock): @@ -61,7 +60,7 @@ def gen_irblock(label, exprs_list): else: irs.append(AssignBlock(exprs)) - irbl = IRBlock(label, irs, lines) + irbl = IRBlock(label, irs) return irbl |