summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-any-value-marshalling.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-06-25 13:05:35 -0700
committerGitHub <noreply@github.com>2022-06-25 13:05:35 -0700
commit62d16a23b0ecd72dc624abd7e10b373c40adaa90 (patch)
tree20cb95233113eb24072e605fdb9acd6f60c65fed /source/slang/slang-ir-any-value-marshalling.cpp
parent8da47c460df01fad6f1d0614210a770f4781edb1 (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-any-value-marshalling.cpp')
-rw-r--r--source/slang/slang-ir-any-value-marshalling.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-ir-any-value-marshalling.cpp b/source/slang/slang-ir-any-value-marshalling.cpp
index b61f0b273..ba8f49cdd 100644
--- a/source/slang/slang-ir-any-value-marshalling.cpp
+++ b/source/slang/slang-ir-any-value-marshalling.cpp
@@ -636,6 +636,7 @@ namespace Slang
// will become duplicates with new types we introduced (e.g. PtrType(AnyValueStruct)), and therefore
// invalidates our `globalValueNumberingMap` hash map. We need to rebuild it.
sharedContext->sharedBuilderStorage.deduplicateAndRebuildGlobalNumberingMap();
+ sharedContext->mapInterfaceRequirementKeyValue.Clear();
}
};