summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-union.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir-union.cpp')
-rw-r--r--source/slang/slang-ir-union.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ir-union.cpp b/source/slang/slang-ir-union.cpp
index 0efca5602..216b0a81a 100644
--- a/source/slang/slang-ir-union.cpp
+++ b/source/slang/slang-ir-union.cpp
@@ -178,7 +178,7 @@ struct DesugarUnionTypesContext
//
void processInst(IRInst* inst)
{
- switch( inst->op )
+ switch( inst->getOp() )
{
default:
// Any instruction not listed below either doesn't involve union types,