From 4aa6344f772d31c1f7b0676cbaf315104c4b30a2 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 23 Jun 2022 12:41:05 -0700 Subject: Preserve specialization cache in IR for specialization pass. (#2293) * Perserve specialization cache in IR for specialization pass. * Fix compile error. * Fix. * Fix. * Fix test case. * Fix. Co-authored-by: Yong He --- source/core/slang-dictionary.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/core') diff --git a/source/core/slang-dictionary.h b/source/core/slang-dictionary.h index 470e5f6d9..b11341051 100644 --- a/source/core/slang-dictionary.h +++ b/source/core/slang-dictionary.h @@ -80,6 +80,9 @@ namespace Slang { friend class Iterator; friend class ItemProxy; + public: + typedef TValue ValueType; + typedef TKey KeyType; private: inline int GetProbeOffset(int /*probeId*/) const { -- cgit v1.2.3