vm: simplify a bit the fixnum_divmod code.

db4
John Benediktsson 2012-08-23 08:38:18 -07:00
parent ed8496b583
commit 42f4193939
1 changed files with 2 additions and 4 deletions

View File

@ -43,10 +43,8 @@ void factor_vm::primitive_fixnum_divmod()
}
else
{
fixnum z = x / y;
fixnum w = x % y;
*s1 = tag_fixnum(z);
*s0 = tag_fixnum(w);
*s1 = tag_fixnum(x / y);
*s0 = tag_fixnum(x % y);
}
}