diff options
| author | Yong He <yonghe@outlook.com> | 2022-06-25 13:05:35 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-25 13:05:35 -0700 |
| commit | 62d16a23b0ecd72dc624abd7e10b373c40adaa90 (patch) | |
| tree | 20cb95233113eb24072e605fdb9acd6f60c65fed /source/slang/slang-ir-lower-generic-function.cpp | |
| parent | 8da47c460df01fad6f1d0614210a770f4781edb1 (diff) | |
Specialize generic/existential calls within generic functions. (#2294)
* Expose internals of dce and use it to implement call graph walk.
* Specialize calls in generic functions.
* Fix clang error.
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-ir-lower-generic-function.cpp')
| -rw-r--r-- | source/slang/slang-ir-lower-generic-function.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-ir-lower-generic-function.cpp b/source/slang/slang-ir-lower-generic-function.cpp index b50737c23..1bd785e8e 100644 --- a/source/slang/slang-ir-lower-generic-function.cpp +++ b/source/slang/slang-ir-lower-generic-function.cpp @@ -315,6 +315,7 @@ namespace Slang } // Update hash keys of globalNumberingMap, since the types are modified. sharedContext->sharedBuilderStorage.deduplicateAndRebuildGlobalNumberingMap(); + sharedContext->mapInterfaceRequirementKeyValue.Clear(); } void processModule() |
