diff options
Diffstat (limited to 'source/slang/bytecode.cpp')
| -rw-r--r-- | source/slang/bytecode.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/slang/bytecode.cpp b/source/slang/bytecode.cpp index 2130972e2..e3cd9e74e 100644 --- a/source/slang/bytecode.cpp +++ b/source/slang/bytecode.cpp @@ -271,9 +271,12 @@ BCConst getGlobalValue( } SLANG_UNEXPECTED("no ID for inst"); - UNREACHABLE(bcConst.flavor = (BCConstFlavor) -1); - UNREACHABLE(bcConst.id = -9999); - UNREACHABLE_RETURN(bcConst); + { + UNREACHABLE(BCConst bcConst); + UNREACHABLE(bcConst.flavor = (BCConstFlavor)-1); + UNREACHABLE(bcConst.id = -9999); + UNREACHABLE_RETURN(bcConst); + } } Int getLocalID( |
