diff options
Diffstat (limited to 'source/slang/slang-ir-sccp.cpp')
| -rw-r--r-- | source/slang/slang-ir-sccp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-ir-sccp.cpp b/source/slang/slang-ir-sccp.cpp index c330d2e0a..c54b5b8d9 100644 --- a/source/slang/slang-ir-sccp.cpp +++ b/source/slang/slang-ir-sccp.cpp @@ -187,7 +187,7 @@ struct SCCPContext // Instructions that represent constant values should always // have a lattice value that reflects this. // - switch( inst->op ) + switch( inst->getOp() ) { case kIROp_IntLit: case kIROp_FloatLit: @@ -237,7 +237,7 @@ struct SCCPContext // Certain instruction always produce constants, and we // want to special-case them here. - switch( inst->op ) + switch( inst->getOp() ) { case kIROp_IntLit: case kIROp_FloatLit: |
