diff options
| author | Yong He <yonghe@outlook.com> | 2020-07-16 13:09:17 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-16 13:09:17 -0700 |
| commit | 62079c534407abe300d24a6d759641779e48bc67 (patch) | |
| tree | e00e89f76194493e5ba425c866a8e59a5fd1925c /source/slang/slang-ir-generics-lowering-context.cpp | |
| parent | 5758d16612eda0f902d7d4c02535afe44dec2ac2 (diff) | |
Support associatedtype local variables and return values in dynamic dispatch code (#1444)
* Refactor lower-generics pass into separate subpasses.
* IR pass to generate witness table wrappers.
* Support associatedtype local variables and return values in dynamic dispatch code.
Diffstat (limited to 'source/slang/slang-ir-generics-lowering-context.cpp')
| -rw-r--r-- | source/slang/slang-ir-generics-lowering-context.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-ir-generics-lowering-context.cpp b/source/slang/slang-ir-generics-lowering-context.cpp index 6ee0a17f0..0fcb85378 100644 --- a/source/slang/slang-ir-generics-lowering-context.cpp +++ b/source/slang/slang-ir-generics-lowering-context.cpp @@ -15,6 +15,7 @@ namespace Slang case kIROp_ThisType: case kIROp_AssociatedType: case kIROp_InterfaceType: + case kIROp_lookup_interface_method: return true; case kIROp_Specialize: { |
