Small simplification to maybe_adjust_large_object()
commitb4f0cec5d73d03bdd0e60adcb2e3d4253b84e0d9
authorDouglas Katzman <dougk@google.com>
Tue, 2 May 2017 00:18:39 +0000 (1 20:18 -0400)
committerDouglas Katzman <dougk@google.com>
Tue, 2 May 2017 00:18:39 +0000 (1 20:18 -0400)
tree99c0a47e89f22c02a44df5528a9731de94dc7de9
parent03228d12ea180f90c2cec0f05be79ead71407367
Small simplification to maybe_adjust_large_object()

Rather than passing in an object address and asserting that it
has a page index, pass the page index and compute the address.

Remove pointless assertion. Fix comments and whitespace.
src/runtime/gencgc.c