summaryrefslogtreecommitdiff
path: root/src/ir/bits.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/bits.h')
-rw-r--r--src/ir/bits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/bits.h b/src/ir/bits.h
index 4196b74c1..ec33c4b11 100644
--- a/src/ir/bits.h
+++ b/src/ir/bits.h
@@ -44,7 +44,7 @@ struct Bits {
// gets the number of effective shifts a shift operation does. In
// wasm, only 5 bits matter for 32-bit shifts, and 6 for 64.
- static Index getEffectiveShifts(Index amount, WasmType type) {
+ static Index getEffectiveShifts(Index amount, Type type) {
if (type == i32) {
return amount & 31;
} else if (type == i64) {