vm: simplify a bit the fixnum_divmod code.
parent
ed8496b583
commit
42f4193939
|
|
@ -43,10 +43,8 @@ void factor_vm::primitive_fixnum_divmod()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fixnum z = x / y;
|
*s1 = tag_fixnum(x / y);
|
||||||
fixnum w = x % y;
|
*s0 = tag_fixnum(x % y);
|
||||||
*s1 = tag_fixnum(z);
|
|
||||||
*s0 = tag_fixnum(w);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue