Skip to content

Commit

Permalink
Fix iface calls being broken
Browse files Browse the repository at this point in the history
  • Loading branch information
lwaern-intel committed Apr 4, 2024
1 parent fa555de commit 6837b15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py/dml/ctree.py
Original file line number Diff line number Diff line change
Expand Up @@ -2885,9 +2885,10 @@ def __str__(self):
self.node_expr, self.method_name,
'(' + ", ".join(str(e) for e in self.args) + ')')
def read(self):
args = [e.read() for e in self.args]
call = "(%s)->%s(%s)" % (
read_iface_struct(self.node_expr), self.method_name,
", ".join(e.read() for e in self.args))
", ".join(args))
if not dml.globals.thread_aware:
return call

Expand Down

0 comments on commit 6837b15

Please sign in to comment.