• Matthew Dempsky's avatar
    cmd/compile: small cleanup to syslook calls · 7f13fbf7
    Matthew Dempsky authored
    Passing copy==1 to syslook is only necessary to support subsequent
    calls to substArgTypes.  typ2Itab and concatstring* don't have "any"
    parameters, so no point in deep copying their function signatures at
    every call site.
    
    For a couple other syslook calls (makemap and conv[IET]2[IET]), move
    them closer to their corresponding substArgTypes calls so it's easier
    to see that all syslook(fn, 1) calls are necessary.
    
    Change-Id: I4a0588ab2b8b5b8ce7a0a44b24c8cf8fda489af6
    Reviewed-on: https://go-review.googlesource.com/20215
    Run-TryBot: Matthew Dempsky <mdempsky@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    7f13fbf7
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...