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-restructure-scoping.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source/slang/slang-ir-restructure-scoping.cpp') diff --git a/source/slang/slang-ir-restructure-scoping.cpp b/source/slang/slang-ir-restructure-scoping.cpp index dca1a92b6..17ed44162 100644 --- a/source/slang/slang-ir-restructure-scoping.cpp +++ b/source/slang/slang-ir-restructure-scoping.cpp @@ -254,9 +254,7 @@ static void fixValueScopingForInst( // IRModule* module = regionTree->irCode->getModule(); - SharedIRBuilder sharedBuilder(module); - - IRBuilder builder(sharedBuilder); + IRBuilder builder(module); // Because we will be changing some of the uses of `def` // to use other values while we iterate the list, we -- cgit v1.2.3