From 1c7dd3050f9de902ff801a1447b2bdecceade535 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Thu, 23 Aug 2012 08:38:18 -0700 Subject: [PATCH] vm: simplify a bit the fixnum_divmod code. --- vm/math.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/vm/math.cpp b/vm/math.cpp index dfac418f00..e323e088cf 100755 --- a/vm/math.cpp +++ b/vm/math.cpp @@ -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); } }