| author | |
| committer | |
| log | d7fe3b57fcb207532d1e37d6185269112f02910c |
| tree | 3825920a388b45c427432d5b35ba9046450b4712 |
| parent | ebc1c263b44d084052ec1d7610f25632a19baee3 |
1 files changed, 5 insertions(+), 1 deletions(-)
lib/std/crypto/ff.zig+5-1| ... | ... | @@ -1084,7 +1084,11 @@ pub fn Modulus(comptime max_bits: comptime_int) type { |
| 1084 | 1084 | } |
| 1085 | 1085 | |
| 1086 | 1086 | fn valueBarrier(x: Limb) Limb { |
| 1087 | if (@inComptime() or builtin.zig_backend == .stage2_c) return x; | |
| 1087 | if (@inComptime()) return x; | |
| 1088 | switch (builtin.zig_backend) { | |
| 1089 | .stage2_c, .stage2_wasm => return x, | |
| 1090 | else => {}, | |
| 1091 | } | |
| 1088 | 1092 | return asm ("" |
| 1089 | 1093 | : [ret] "=r" (-> Limb), |
| 1090 | 1094 | : [x] "0" (x), |