From c4615fe0ae7e1849b23e9a96d1453794b0b40e90 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 9 Aug 2023 09:11:23 -0700 Subject: Clean up and improve Val deduplication performance. (#3069) * Clean up and improve Val deuplication performance. * Fix. * Fix. * Fix. * Fix. --------- Co-authored-by: Yong He --- source/slang/slang-ast-type.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-ast-type.cpp') diff --git a/source/slang/slang-ast-type.cpp b/source/slang/slang-ast-type.cpp index 13133a7f8..7ea5e8ed1 100644 --- a/source/slang/slang-ast-type.cpp +++ b/source/slang/slang-ast-type.cpp @@ -692,7 +692,7 @@ Val* AndType::_substituteImplOverride(ASTBuilder* astBuilder, SubstitutionSet su (*ioDiff)++; - auto substType = getCurrentASTBuilder()->getAndType(substLeft, substRight); + auto substType = astBuilder->getAndType(substLeft, substRight); return substType; } -- cgit v1.2.3