py2llvm/fractions: fix or_sub

This commit is contained in:
Sebastien Bourdeauducq 2014-09-16 16:43:01 +08:00
parent 040fa0e02a
commit dbca62c1d7
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ class VFraction(VGeneric):
return self._o_addsub(other, builder, False)
def or_sub(self, other, builder):
return self._o_addsub(other, builder, False, True)
return self._o_addsub(other, builder, True, True)
def _o_muldiv(self, other, builder, div, invert=False):
if not isinstance(other, (VFraction, VInt)):