Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Rogers committed Apr 7, 2009
1 parent 4dc4346 commit 99ca0bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rvm/src/org/jikesrvm/runtime/RuntimeEntrypoints.java
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ private static long unsignedRemainder(final long n, final long d) {
final int n2 = n1 >>> b;
final int n1_ = (n1 << bm) | (n0 >>> b);
final int n0_ = n0 << bm;
int q0 = Magic.unsignedDivide(makeLong(n2,n1_), d1_);
final int q0 = Magic.unsignedDivide(makeLong(n2,n1_), d1_);
final int n1__ = Magic.unsignedRemainder(makeLong(n2,n1_), d1_);
final long m = unsignedMultiply(q0, d0_);
long m = unsignedMultiply(q0, d0_);
final int m0 = (int)m;
final int m1 = (int)(m >>> 32);
if (unsignedGT(m1, n1__) || ((m1 == n1__) && unsignedGT(m0, n0_))) {
Expand Down

0 comments on commit 99ca0bf

Please sign in to comment.