• Matthew Dempsky's avatar
    cmd/compile/internal/gc: separate builtin and real runtime packages · b6c600fc
    Matthew Dempsky authored
    The builtin runtime package definitions intentionally diverge from the
    actual runtime package's, but this only works as long as they never
    overlap.
    
    To make it easier to expand the builtin runtime package, this CL now
    loads their definitions into a logically separate "go.runtime"
    package.  By resetting the package's Prefix field to "runtime", any
    references to builtin definitions will still resolve against the real
    package runtime.
    
    Fixes #14482.
    
    Passes toolstash -cmp.
    
    Change-Id: I539c0994deaed4506a331f38c5b4d6bc8c95433f
    Reviewed-on: https://go-review.googlesource.com/37538
    Run-TryBot: Matthew Dempsky <mdempsky@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRobert Griesemer <gri@golang.org>
    b6c600fc
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...