• Austin Clements's avatar
    cmd/compile: create "init" symbol earlier · b52db19b
    Austin Clements authored
    We create the "init" symbol and mark it as a function before compiling
    to SSA because SSA can initialize this symbol, but it turns out we do
    it slightly too late. peekitabs, at least, can also create the "init"
    LSym. Move this initialization to just after type-checking.
    
    Fixes the linux-amd64-ssacheck and the android-arm64-wiko-fever
    builders.
    
    Updates #27539.
    
    Change-Id: If145952c79d39f75c93b24e35e67fe026dd08329
    Reviewed-on: https://go-review.googlesource.com/c/149137
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRobert Griesemer <gri@golang.org>
    b52db19b
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...