summaryrefslogtreecommitdiff
path: root/src/tools/fuzzing.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2019-07-24 16:12:56 -0700
committerGitHub <noreply@github.com>2019-07-24 16:12:56 -0700
commitdaf0b9cf0a5cf32727bfd06960fac48b30813d93 (patch)
treed1280df4032050f185546f1f98938d60cc99810e /src/tools/fuzzing.h
parenteb6edf286d65fa791373735f87beb578c6cc27c7 (diff)
downloadbinaryen-daf0b9cf0a5cf32727bfd06960fac48b30813d93.tar.gz
binaryen-daf0b9cf0a5cf32727bfd06960fac48b30813d93.tar.bz2
binaryen-daf0b9cf0a5cf32727bfd06960fac48b30813d93.zip
Put Extend* opcodes behind SignExt feature. fixes #2257 (#2258)
Diffstat (limited to 'src/tools/fuzzing.h')
-rw-r--r--src/tools/fuzzing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/fuzzing.h b/src/tools/fuzzing.h
index 6a947d80c..832fa26ab 100644
--- a/src/tools/fuzzing.h
+++ b/src/tools/fuzzing.h
@@ -1764,7 +1764,7 @@ private:
auto op = pick(
FeatureOptions<UnaryOp>()
.add(FeatureSet::MVP, EqZInt32, ClzInt32, CtzInt32, PopcntInt32)
- .add(FeatureSet::Atomics, ExtendS8Int32, ExtendS16Int32));
+ .add(FeatureSet::SignExt, ExtendS8Int32, ExtendS16Int32));
return buildUnary({op, make(i32)});
}
case i64: