summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/fuzzing.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/fuzzing.h b/src/tools/fuzzing.h
index 7dac502db..24e1d6e8e 100644
--- a/src/tools/fuzzing.h
+++ b/src/tools/fuzzing.h
@@ -983,7 +983,7 @@ private:
case 0:
return makeBlock(Type::unreachable);
case 1:
- return makeIf(Type::Type::unreachable);
+ return makeIf(Type::unreachable);
case 2:
return makeLoop(Type::unreachable);
case 3:
@@ -1161,7 +1161,7 @@ private:
hangStack.pop_back();
return ret;
} else if (type == Type::none) {
- if (valueType != Type::Type::none) {
+ if (valueType != Type::none) {
// we need to break to a proper place
continue;
}
@@ -1170,7 +1170,7 @@ private:
return ret;
} else {
assert(type == Type::unreachable);
- if (valueType != Type::Type::none) {
+ if (valueType != Type::none) {
// we need to break to a proper place
continue;
}
@@ -1326,7 +1326,7 @@ private:
type = getConcreteType();
auto& globals = globalsByType[type];
if (globals.empty()) {
- return makeTrivial(Type::Type::none);
+ return makeTrivial(Type::none);
}
auto* value = make(type);
return builder.makeGlobalSet(pick(globals), value);
@@ -2261,7 +2261,7 @@ private:
// we need to find proper targets to break to; try a bunch
int tries = TRIES;
std::vector<Name> names;
- Type valueType = Type::Type::unreachable;
+ Type valueType = Type::unreachable;
while (tries-- > 0) {
auto* target = pick(breakableStack);
auto name = getTargetName(target);
@@ -2550,7 +2550,7 @@ private:
ShrSVecI64x2,
ShrUVecI64x2);
Expression* vec = make(Type::v128);
- Expression* shift = make(Type::Type::i32);
+ Expression* shift = make(Type::i32);
return builder.makeSIMDShift(op, vec, shift);
}