diff --git a/artiq/py2llvm/fractions.py b/artiq/py2llvm/fractions.py index 1c97369b8..e57d12a52 100644 --- a/artiq/py2llvm/fractions.py +++ b/artiq/py2llvm/fractions.py @@ -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: