py2llvm/fractions: fix addsub with int

This commit is contained in:
Sebastien Bourdeauducq 2014-09-11 23:11:57 +08:00
parent 2c0b6ff4cc
commit f0c2003778
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class VFraction(VGeneric):
r = VFraction()
if builder is not None:
if isinstance(other, VInt):
i = other.o_int64(builder).auto_load()
i = other.o_int64(builder).auto_load(builder)
x, rd = self._nd(builder)
y = builder.mul(rd, i)
else: