From a5b70a4b6206458e4b18b2679882d0ce670861ff Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Tue, 17 Oct 2017 14:25:37 -0500
Subject: [PATCH] Add compat shim for fuse_statement_streams_with_unique_ids

---
 pymbolic/imperative/transform.py | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/pymbolic/imperative/transform.py b/pymbolic/imperative/transform.py
index fd5d94a..b324bab 100644
--- a/pymbolic/imperative/transform.py
+++ b/pymbolic/imperative/transform.py
@@ -50,6 +50,15 @@ def fuse_statement_streams_with_unique_ids(statements_a, statements_b):
 
     return new_statements, old_b_id_to_new_b_id
 
+
+def fuse_instruction_streams_with_unique_ids(insns_a, insns_b):
+    from warnings import warn
+    warn("fuse_instruction_streams_with_unique_ids has been renamed to "
+            "fuse_statement_streams_with_unique_ids", DeprecationWarning,
+            stacklevel=2)
+
+    return fuse_statement_streams_with_unique_ids(insns_a, insns_b)
+
 # }}}
 
 
-- 
GitLab