aboutsummaryrefslogtreecommitdiff
path: root/source/fuzz/transformation_add_type_array.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/fuzz/transformation_add_type_array.cpp')
-rw-r--r--source/fuzz/transformation_add_type_array.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fuzz/transformation_add_type_array.cpp b/source/fuzz/transformation_add_type_array.cpp
index d00d0e43..45bc8dfe 100644
--- a/source/fuzz/transformation_add_type_array.cpp
+++ b/source/fuzz/transformation_add_type_array.cpp
@@ -72,7 +72,7 @@ void TransformationAddTypeArray::Apply(
in_operands.push_back({SPV_OPERAND_TYPE_ID, {message_.element_type_id()}});
in_operands.push_back({SPV_OPERAND_TYPE_ID, {message_.size_id()}});
auto type_instruction = MakeUnique<opt::Instruction>(
- ir_context, spv::Op::OpTypeArray, 0, message_.fresh_id(), in_operands);
+ ir_context, SpvOpTypeArray, 0, message_.fresh_id(), in_operands);
auto type_instruction_ptr = type_instruction.get();
ir_context->module()->AddType(std::move(type_instruction));