aboutsummaryrefslogtreecommitdiff
path: root/source/opt/propagator.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/opt/propagator.h')
-rw-r--r--source/opt/propagator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/opt/propagator.h b/source/opt/propagator.h
index 71212c96..ac7c0e7e 100644
--- a/source/opt/propagator.h
+++ b/source/opt/propagator.h
@@ -153,10 +153,10 @@ struct Edge {
// std::map<uint32_t, uint32_t> values;
// const auto visit_fn = [&ctx, &values](Instruction* instr,
// BasicBlock** dest_bb) {
-// if (instr->opcode() == spv::Op::OpStore) {
+// if (instr->opcode() == SpvOpStore) {
// uint32_t rhs_id = instr->GetSingleWordOperand(1);
// Instruction* rhs_def = ctx->get_def_use_mgr()->GetDef(rhs_id);
-// if (rhs_def->opcode() == spv::Op::OpConstant) {
+// if (rhs_def->opcode() == SpvOpConstant) {
// uint32_t val = rhs_def->GetSingleWordOperand(2);
// values[rhs_id] = val;
// return SSAPropagator::kInteresting;