diff options
| author | Yong He <yonghe@outlook.com> | 2024-10-14 14:03:01 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-14 14:03:01 -0700 |
| commit | f857815a8c0a4e8d4f35c9a49c655545fb692195 (patch) | |
| tree | 78fecf229aece79d27d4d42664eda267706670c5 /source/slang/slang-check-decl.cpp | |
| parent | 5126d58ab2252357014df4136a4a1e07c7c2d5f4 (diff) | |
Misc build fixes. (#5271)
* Don't use __assume for SLANG_ASSERT + build fixes.
* Fix.
* build slang-wasm conditionally
* Fix.
* revert retry open file
* revert include.
* another attempt of silencing compiler warnings.
* revert assume change.
Diffstat (limited to 'source/slang/slang-check-decl.cpp')
| -rw-r--r-- | source/slang/slang-check-decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check-decl.cpp b/source/slang/slang-check-decl.cpp index 5ca1baeec..781a3a237 100644 --- a/source/slang/slang-check-decl.cpp +++ b/source/slang/slang-check-decl.cpp @@ -5919,7 +5919,7 @@ namespace Slang intrinsicOpModifier->op = kIROp_IntCast; break; default: - SLANG_ASSERT("unknown builtin requirement kind."); + SLANG_UNEXPECTED("unknown builtin requirement kind."); } synFunc->loc = context->parentDecl->closingSourceLoc; synFunc->nameAndLoc.loc = synFunc->loc; |
