diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/ir.cpp b/source/slang/ir.cpp index a75a02ca7..2b0e19a0c 100644 --- a/source/slang/ir.cpp +++ b/source/slang/ir.cpp @@ -312,7 +312,7 @@ namespace Slang case kIROp_switch: // switch <val> <break> <default> <caseVal1> <caseBlock1> ... - begin = operands + 4; + begin = operands + 2; // TODO: this ends up point one *after* the "one after the end" // location, so we should really change the representation |
