aboutsummaryrefslogtreecommitdiff
path: root/src/BuiltinFn.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-08-21 17:24:04 +0300
committerVeikka Tuominen <git@vexu.eu>2022-08-22 11:19:20 +0300
commit62ff8871ed9c8c4e46d8acd1d227ed3fb802be7f (patch)
treeb5bdd3f092ebc0b7e9c260df798b7019f69cdae7 /src/BuiltinFn.zig
parent6c020cdb767192757b6c4b43e2f14c5394760431 (diff)
downloadzig-62ff8871ed9c8c4e46d8acd1d227ed3fb802be7f.tar.gz
zig-62ff8871ed9c8c4e46d8acd1d227ed3fb802be7f.zip
stage2+stage1: remove type parameter from bit builtins
Closes #12529 Closes #12511 Closes #6835
Diffstat (limited to 'src/BuiltinFn.zig')
-rw-r--r--src/BuiltinFn.zig10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/BuiltinFn.zig b/src/BuiltinFn.zig
index 04cad19354..3a13dde1ab 100644
--- a/src/BuiltinFn.zig
+++ b/src/BuiltinFn.zig
@@ -250,14 +250,14 @@ pub const list = list: {
"@byteSwap",
.{
.tag = .byte_swap,
- .param_count = 2,
+ .param_count = 1,
},
},
.{
"@bitReverse",
.{
.tag = .bit_reverse,
- .param_count = 2,
+ .param_count = 1,
},
},
.{
@@ -301,7 +301,7 @@ pub const list = list: {
"@clz",
.{
.tag = .clz,
- .param_count = 2,
+ .param_count = 1,
},
},
.{
@@ -336,7 +336,7 @@ pub const list = list: {
"@ctz",
.{
.tag = .ctz,
- .param_count = 2,
+ .param_count = 1,
},
},
.{
@@ -614,7 +614,7 @@ pub const list = list: {
"@popCount",
.{
.tag = .pop_count,
- .param_count = 2,
+ .param_count = 1,
},
},
.{