aboutsummaryrefslogtreecommitdiff
path: root/source/fuzz/fuzzer_pass_construct_composites.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/fuzz/fuzzer_pass_construct_composites.cpp')
-rw-r--r--source/fuzz/fuzzer_pass_construct_composites.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/fuzz/fuzzer_pass_construct_composites.cpp b/source/fuzz/fuzzer_pass_construct_composites.cpp
index 1a174cf1..ff022fcc 100644
--- a/source/fuzz/fuzzer_pass_construct_composites.cpp
+++ b/source/fuzz/fuzzer_pass_construct_composites.cpp
@@ -26,9 +26,10 @@ namespace fuzz {
FuzzerPassConstructComposites::FuzzerPassConstructComposites(
opt::IRContext* ir_context, TransformationContext* transformation_context,
FuzzerContext* fuzzer_context,
- protobufs::TransformationSequence* transformations)
+ protobufs::TransformationSequence* transformations,
+ bool ignore_inapplicable_transformations)
: FuzzerPass(ir_context, transformation_context, fuzzer_context,
- transformations) {}
+ transformations, ignore_inapplicable_transformations) {}
void FuzzerPassConstructComposites::Apply() {
// Gather up the ids of all composite types, but skip block-/buffer
@@ -61,7 +62,7 @@ void FuzzerPassConstructComposites::Apply() {
return GetTransformationContext()->GetFactManager()->IdIsIrrelevant(
inst->result_id()) ||
fuzzerutil::CanMakeSynonymOf(ir_context,
- *GetTransformationContext(), inst);
+ *GetTransformationContext(), *inst);
});
ForEachInstructionWithInstructionDescriptor(