diff options
author | Robert Griesemer <gri@golang.org> | 2013-02-25 22:06:58 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2013-02-25 22:06:58 -0800 |
commit | c90286ea621ff07548ee6413e3ca746dbf198a5b (patch) | |
tree | 964ce4a897968106a2f6fbf53ce3f1a1b525e693 /src/all.rc | |
parent | 7bb0639b2755f0e35c29b3516ebc1ed54c25402f (diff) | |
download | go-c90286ea621ff07548ee6413e3ca746dbf198a5b.tar.gz |
go/types: fix sizeof computations
Context.Alignof/Offsetsof/Sizeof now provide means
to customize the type checker for a given platform.
- provide Context.Offsetsof to specify the
offsets of struct fields
- use the correct sizes for ints, uint, uintptrs
in constant computations
- moved all size computations into separate file
(sizes.go)
- fixed a bug with string constant slicing
R=adonovan, axwalk
CC=golang-dev
https://codereview.appspot.com/7363054
Diffstat (limited to 'src/all.rc')
0 files changed, 0 insertions, 0 deletions