Skip to content

Commit

Permalink
@jit.elidable
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowone committed Apr 5, 2024
1 parent 07088ed commit adefff2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions aheui/int/bigint.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

from rpython.rlib.jit import elidable
from aheui._compat import jit
from rpython.rlib.rbigint import rbigint


Expand All @@ -26,31 +26,31 @@ def tolonglong(big):
return big.tolonglong()


@elidable
@jit.elidable
def add(r1, r2):
return r1.add(r2)


@elidable
@jit.elidable
def sub(r1, r2):
return r1.sub(r2)


@elidable
@jit.elidable
def mul(r1, r2):
return r1.mul(r2)


@elidable
@jit.elidable
def div(r1, r2):
return r1.div(r2)


@elidable
@jit.elidable
def mod(r1, r2):
return r1.mod(r2)


@elidable
@jit.elidable
def ge(r1, r2):
return r1.ge(r2)

0 comments on commit adefff2

Please sign in to comment.