diff options
| author | Yong He <yonghe@outlook.com> | 2017-11-04 16:23:21 -0400 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-11-04 16:23:21 -0400 |
| commit | a7dd782d7895e1f277573fb9923be653ab813941 (patch) | |
| tree | d2d852a6cd806034af6ed1d677f617e7867a020f /source/slang/bytecode.cpp | |
| parent | 8d19b2b4443101040acaf7d9dce2a7a6affea712 (diff) | |
fix linux build
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( |
