Skip to content

Commit 56e080a

Browse files
committed
fix
1 parent fa51ae3 commit 56e080a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,8 +1200,8 @@ export class Module {
12001200
case UnaryOp.CtzSize: op = isWam64 ? UnaryOp.CtzI64 : UnaryOp.CtzI32; break;
12011201
case UnaryOp.PopcntSize: op = isWam64 ? UnaryOp.PopcntI64 : UnaryOp.PopcntI32; break;
12021202
case UnaryOp.EqzSize: op = isWam64 ? UnaryOp.EqzI64 : UnaryOp.EqzI32; break;
1203+
default: assert(false);
12031204
}
1204-
assert(false);
12051205
}
12061206
return binaryen._BinaryenUnary(this.ref, op, value);
12071207
}
@@ -1239,8 +1239,8 @@ export class Module {
12391239
case BinaryOp.GtUSize: op = isWasm64 ? BinaryOp.GtU64 : BinaryOp.GtU32; break;
12401240
case BinaryOp.GeISize: op = isWasm64 ? BinaryOp.GeI64 : BinaryOp.GeI32; break;
12411241
case BinaryOp.GeUSize: op = isWasm64 ? BinaryOp.GeU64 : BinaryOp.GeU32; break;
1242+
default: assert(false);
12421243
}
1243-
assert(false);
12441244
}
12451245
return binaryen._BinaryenBinary(this.ref, op, left, right);
12461246
}

0 commit comments

Comments
 (0)