diff options
Diffstat (limited to 'source/reduce/operand_to_const_reduction_opportunity_finder.cpp')
-rw-r--r-- | source/reduce/operand_to_const_reduction_opportunity_finder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/reduce/operand_to_const_reduction_opportunity_finder.cpp b/source/reduce/operand_to_const_reduction_opportunity_finder.cpp index c6196f36..eb7498ad 100644 --- a/source/reduce/operand_to_const_reduction_opportunity_finder.cpp +++ b/source/reduce/operand_to_const_reduction_opportunity_finder.cpp @@ -50,7 +50,7 @@ OperandToConstReductionOpportunityFinder::GetAvailableOpportunities( // The argument is already a constant. continue; } - if (def->opcode() == spv::Op::OpFunction) { + if (def->opcode() == SpvOpFunction) { // The argument refers to a function, e.g. the function called // by OpFunctionCall; avoid replacing this with a constant of // the function's return type. |