diff options
| author | Yong He <yonghe@outlook.com> | 2023-02-17 13:23:27 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-17 13:23:27 -0800 |
| commit | 051607368e8d3dd55d2ad2b2200ef656244ec70d (patch) | |
| tree | c1a6ce8d7551e5a74e36349d43ee4c05ae6ed21c /source/slang/slang-check-impl.h | |
| parent | 79049bc7617be0d20f6ed5d9d1dfe75006aa675a (diff) | |
Fixed crash when lowering IR for no_diff struct member. (#2658)
* Fixed crash when lowering IR for no_diff struct member.
* Improve `setInsertBeforeOrdinaryInst` and `setInsertAfterOrdinaryInst`.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-check-impl.h')
| -rw-r--r-- | source/slang/slang-check-impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check-impl.h b/source/slang/slang-check-impl.h index 719706635..ccc739da3 100644 --- a/source/slang/slang-check-impl.h +++ b/source/slang/slang-check-impl.h @@ -508,7 +508,7 @@ namespace Slang Type* TranslateTypeNode(Expr* node); TypeExp TranslateTypeNodeForced(TypeExp const& typeExp); TypeExp TranslateTypeNode(TypeExp const& typeExp); - + Type* getRemovedModifierType(ModifiedType* type, ModifierVal* modifier); DeclRefType* getExprDeclRefType(Expr * expr); /// Is `decl` usable as a static member? |
