Skip to content

Commit b7c6934

Browse files
committed
[ec]: remove [Alloca] effect and noinline pragma
1 parent c993c46 commit b7c6934

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

constantine/math/elliptic/ec_shortweierstrass_batch_ops.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import
2929
func batchAffine*[F, G](
3030
affs: ptr UncheckedArray[EC_ShortW_Aff[F, G]],
3131
projs: ptr UncheckedArray[EC_ShortW_Prj[F, G]],
32-
N: int) {.noInline, tags:[Alloca], meter.} =
32+
N: int) {.meter.} =
3333
# Algorithm: Montgomery's batch inversion
3434
# - Speeding the Pollard and Elliptic Curve Methods of Factorization
3535
# Section 10.3.1
@@ -94,7 +94,7 @@ func batchAffine*[N: static int, F, G](
9494
func batchAffine*[F, G](
9595
affs: ptr UncheckedArray[EC_ShortW_Aff[F, G]],
9696
jacs: ptr UncheckedArray[EC_ShortW_Jac[F, G]],
97-
N: int) {.noInline, tags:[Alloca], meter.} =
97+
N: int) {.meter.} =
9898
# Algorithm: Montgomery's batch inversion
9999
# - Speeding the Pollard and Elliptic Curve Methods of Factorization
100100
# Section 10.3.1

0 commit comments

Comments
 (0)