| ... | @@ -1084,7 +1084,11 @@ pub fn Modulus(comptime max_bits: comptime_int) type { | ... | @@ -1084,7 +1084,11 @@ pub fn Modulus(comptime max_bits: comptime_int) type { |
| 1084 | } | 1084 | } |
| 1085 | | 1085 | |
| 1086 | fn valueBarrier(x: Limb) Limb { | 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 | return asm ("" | 1092 | return asm ("" |
| 1089 | : [ret] "=r" (-> Limb), | 1093 | : [ret] "=r" (-> Limb), |
| 1090 | : [x] "0" (x), | 1094 | : [x] "0" (x), |