diff options
| author | Yong He <yonghe@outlook.com> | 2020-07-15 11:39:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-15 11:39:11 -0700 |
| commit | e9d5ecbf19147af6e1473020b64ced4286b79079 (patch) | |
| tree | 93413fe8490cea74e36f45678ad720d92d2b5e3e /source/slang/slang-ir-lower-generic-function.h | |
| parent | 723c9b1b3607ba910abbeb72f4f13bdff3cbd502 (diff) | |
Refactor lower-generics pass into separate subpasses. (#1442)
Diffstat (limited to 'source/slang/slang-ir-lower-generic-function.h')
| -rw-r--r-- | source/slang/slang-ir-lower-generic-function.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source/slang/slang-ir-lower-generic-function.h b/source/slang/slang-ir-lower-generic-function.h new file mode 100644 index 000000000..c364cfdd0 --- /dev/null +++ b/source/slang/slang-ir-lower-generic-function.h @@ -0,0 +1,13 @@ +// slang-ir-lower-generic-function.h +#pragma once + +namespace Slang +{ + struct SharedGenericsLoweringContext; + + /// Lower generic and interface-based code to ordinary types and functions using + /// dynamic dispatch mechanisms. + void lowerGenericFunctions( + SharedGenericsLoweringContext* sharedContext); + +} |
