• Keith Randall's avatar
    cmd/compile: fix Mul->Mul64 intrinsic alias · 7a634034
    Keith Randall authored
    The alias declaration needs to come after the function it is aliasing.
    
    It isn't a big deal in this case, as bits.Mul inlines and has as its
    body bits.Mul64, so the desired code gets generated regardless.
    The alias should only have an effect on inlining cost estimates
    (for functions that call bits.Mul).
    
    Change-Id: I0d814899ce7049a0fb36e8ce1ad5ababbaf6265f
    Reviewed-on: https://go-review.googlesource.com/c/144597
    Run-TryBot: Keith Randall <khr@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarGiovanni Bajo <rasky@develer.com>
    7a634034
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...