]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: move more compiler specifics into compiler specific export section
authorRobert Griesemer <gri@golang.org>
Wed, 13 Apr 2016 01:00:04 +0000 (18:00 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 13 Apr 2016 17:00:49 +0000 (17:00 +0000)
commit7d0d1222477ce50736ee24adb38c1f487d0801d9
treea89f392bf31e07be91d9f142f229e13f1b12285d
parentd8e8fc292ace5ae59a0da44dfca1dd5b1a71ecf1
cmd/compile: move more compiler specifics into compiler specific export section

Instead of indicating with each function signature if it has an inlineable
body, collect all functions in order and export function bodies with function
index in platform-specific section.

Moves this compiler specific information out of the platform-independent
export data section, and removes an int value for all functions w/o body.
Also simplifies the code a bit.

Change-Id: I8b2d7299dbe81f2706be49ecfb9d9f7da85fd854
Reviewed-on: https://go-review.googlesource.com/21939
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/bexport.go
src/cmd/compile/internal/gc/bimport.go
src/go/internal/gcimporter/bimport.go