about summary refs log tree commit diff stats
path: root/test/analysis/data_flow.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/analysis/data_flow.py')
-rw-r--r--test/analysis/data_flow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/analysis/data_flow.py b/test/analysis/data_flow.py
index 98efecbe..840bf9ce 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
 
 
@@ -72,7 +72,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