• Matthew Dempsky's avatar
    runtime: rewrite lots of foo_Bar(f, ...) into f.bar(...) · c17c42e8
    Matthew Dempsky authored
    Applies to types fixAlloc, mCache, mCentral, mHeap, mSpan, and
    mSpanList.
    
    Two special cases:
    
    1. mHeap_Scavenge() previously didn't take an *mheap parameter, so it
    was specially handled in this CL.
    
    2. mHeap_Free() would have collided with mheap's "free" field, so it's
    been renamed to (*mheap).freeSpan to parallel its underlying
    (*mheap).freeSpanLocked method.
    
    Change-Id: I325938554cca432c166fe9d9d689af2bbd68de4b
    Reviewed-on: https://go-review.googlesource.com/16221Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    Run-TryBot: Matthew Dempsky <mdempsky@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    c17c42e8
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...