From 245466d89cfe54b78da486f06d470bc6daaf4625 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 16 Feb 2023 16:44:04 -0800 Subject: Remove `SharedIRBuilder`. (#2657) Co-authored-by: Yong He --- source/slang/slang-ir-inline.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/slang/slang-ir-inline.cpp') diff --git a/source/slang/slang-ir-inline.cpp b/source/slang/slang-ir-inline.cpp index 643acdbb8..d8486d7aa 100644 --- a/source/slang/slang-ir-inline.cpp +++ b/source/slang/slang-ir-inline.cpp @@ -236,8 +236,7 @@ struct InliningPassBase // and will set it up to insert before the `call` that // is going to be replaced. // - SharedIRBuilder sharedBuilder(m_module); - IRBuilder builder(sharedBuilder); + IRBuilder builder(m_module); builder.setInsertBefore(call); // If callee is an intrinsic op, just issue that intrinsic and be done. -- cgit v1.2.3