• Austin Clements's avatar
    runtime: make mspan.isFree do what's on the tin · 3cbfcaa4
    Austin Clements authored
    Currently mspan.isFree technically returns whether the object was not
    allocated *during this cycle*. Fix it so it actually returns whether
    or not the object is allocated so the method is more generally useful
    (especially for debugging).
    
    It has one caller, which is carefully written to be insensitive to
    this distinction, but this lets us simplify this caller.
    
    Change-Id: I9d79cf784a56015e434961733093c1d8d03fc091
    Reviewed-on: https://go-review.googlesource.com/30145
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    3cbfcaa4
Name
Last commit
Last update
.github Loading commit data...
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...