diff options
| author | Yong He <yonghe@outlook.com> | 2024-12-09 04:47:53 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-09 20:47:53 +0800 |
| commit | 051ae8acec0a641bcaf86e7eeff35eff29e8922d (patch) | |
| tree | 4e385415742ad98c8842454fda14a9abb8112cb2 /source/slang/slang-ast-modifier.h | |
| parent | 71e90a7ba78d0566e3b7da54df48f9af598e4cbb (diff) | |
Fix crash during emitCast of attributed type, allow MaxIters to take linktime const. (#5791)
* Fix crash during emitCast of attributed type.
* Allow [MaxIters] to take link time constants.
---------
Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
Diffstat (limited to 'source/slang/slang-ast-modifier.h')
| -rw-r--r-- | source/slang/slang-ast-modifier.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ast-modifier.h b/source/slang/slang-ast-modifier.h index ee9b55334..863ffaef2 100644 --- a/source/slang/slang-ast-modifier.h +++ b/source/slang/slang-ast-modifier.h @@ -744,7 +744,7 @@ class MaxItersAttribute : public Attribute { SLANG_AST_CLASS(MaxItersAttribute) - int32_t value = 0; + IntVal* value = 0; }; // An inferred max iteration count on a loop. |
