• Austin Clements's avatar
    runtime: factor object dumping code out of greyobject · 506615d8
    Austin Clements authored
    When checkmark fails, greyobject dumps both the object that pointed to
    the unmarked object and the unmarked object. This code cluttered up
    greyobject, was copy-pasted for the two objects, and the copy for
    dumping the unmarked object was not entirely correct.
    
    Extract object dumping out to a new function. This declutters
    greyobject and fixes the bugs in dumping the unmarked object. The new
    function is slightly cleaned up from the original code to have more
    natural control flow and shows a marker on the field in the base
    object that points to the unmarked object to make it easy to find.
    
    Change-Id: Ib51318a943f50b0b99995f0941d03ee8876b9fcf
    Reviewed-on: https://go-review.googlesource.com/7506Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    506615d8
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...