aboutsummaryrefslogtreecommitdiff
path: root/source/fuzz/transformation_add_constant_boolean.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/fuzz/transformation_add_constant_boolean.cpp')
-rw-r--r--source/fuzz/transformation_add_constant_boolean.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/fuzz/transformation_add_constant_boolean.cpp b/source/fuzz/transformation_add_constant_boolean.cpp
index 89c2e579..39354325 100644
--- a/source/fuzz/transformation_add_constant_boolean.cpp
+++ b/source/fuzz/transformation_add_constant_boolean.cpp
@@ -43,8 +43,7 @@ void TransformationAddConstantBoolean::Apply(
// Add the boolean constant to the module, ensuring the module's id bound is
// high enough.
auto new_instruction = MakeUnique<opt::Instruction>(
- ir_context,
- message_.is_true() ? spv::Op::OpConstantTrue : spv::Op::OpConstantFalse,
+ ir_context, message_.is_true() ? SpvOpConstantTrue : SpvOpConstantFalse,
fuzzerutil::MaybeGetBoolType(ir_context), message_.fresh_id(),
opt::Instruction::OperandList());
auto new_instruction_ptr = new_instruction.get();