• Keith Randall's avatar
    cmd/compile: get rid of BlockCall · c345a391
    Keith Randall authored
    No need for it, we can treat calls as (mostly) normal values
    that take a memory and return a memory.
    
    Lowers the number of basic blocks needed to represent a function.
    "go test -c net/http" uses 27% fewer basic blocks.
    Probably doesn't affect generated code much, but should help
    various passes whose running time and/or space depends on
    the number of basic blocks.
    
    Fixes #15631
    
    Change-Id: I0bf21e123f835e2cfa382753955a4f8bce03dfa6
    Reviewed-on: https://go-review.googlesource.com/28950
    Run-TryBot: Keith Randall <khr@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarJosh Bleecher Snyder <josharian@gmail.com>
    c345a391
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...