diff options
Diffstat (limited to 'test/ir/reduce_graph.py')
| -rw-r--r-- | test/ir/reduce_graph.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ir/reduce_graph.py b/test/ir/reduce_graph.py index 8835b4aa..4aa2d5ef 100644 --- a/test/ir/reduce_graph.py +++ b/test/ir/reduce_graph.py @@ -74,7 +74,7 @@ class IRATest(ira): """Fake IRA class for tests""" - def __init__(self, loc_db=None): + def __init__(self, loc_db): arch = Arch() super(IRATest, self).__init__(arch, 32, loc_db) self.IRDst = IRDst @@ -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 |