summaryrefslogtreecommitdiff
path: root/src/cmd/6g/align.c
AgeCommit message (Collapse)AuthorFilesLines
2009-05-21some array init bugsKen Thompson1-38/+0
renamed 6g/(gen|align|obj).c R=r OCL=29205 CL=29205
2009-03-30move portable object routines (especiallyRuss Cox1-0/+4
signature generation) into gc. R=ken OCL=26933 CL=26933
2009-03-30move portable code generation (basic statements) to gc.Russ Cox1-2/+0
R=ken OCL=26929 CL=26929
2009-03-30move alignment calculations into gcRuss Cox1-278/+7
R=ken OCL=26914 CL=26914
2009-02-07change array padding in structuresKen Thompson1-2/+12
to pad to size of element rather than size of array. R=r OCL=24641 CL=24641
2009-02-026g return struct fix:Russ Cox1-1/+6
make t->width of funarg struct be width of struct. emit MOVSL for 4-byte copy. R=ken OCL=24108 CL=24111
2009-01-30update compiler to new func rulesRuss Cox1-4/+22
R=ken OCL=23958 CL=23961
2009-01-096g cleanup suggested by ken.Russ Cox1-0/+4
remove TPTR wrapper around TMAP, TCHAN, TSTRING. R=ken OCL=22406 CL=22409
2008-12-19[] and struct in interfaces.Russ Cox1-0/+2
other [] cleanup. convert() is gone. R=r DELTA=352 (144 added, 68 deleted, 140 changed) OCL=21660 CL=21662
2008-12-19portability bugKen Thompson1-1/+6
cant assign to closed array R=r OCL=21634 CL=21634
2008-12-18arraysKen Thompson1-1/+4
R=r OCL=21564 CL=21564
2008-12-08foundation for import unsafeKen Thompson1-1/+1
R=r OCL=20794 CL=20794
2008-11-18oopsKen Thompson1-1/+0
R=r OCL=19566 CL=19566
2008-11-11width fixes.Russ Cox1-0/+2
* check for uncomputed struct offsets * distinguish function structs from ordinary structs * make sure function structs are not examined in isolation R=ken OCL=19005 CL=19005
2008-11-01DOTDOTDOTKen Thompson1-0/+3
R=r OCL=18317 CL=18317
2008-10-29the end of life as we know itKen Thompson1-36/+54
int is new type R=r OCL=18023 CL=18023
2008-10-06change type names to go live at the name, so thatRuss Cox1-1/+12
type T struct { next *T } and type T *struct { next T } are valid without needing forward declarations. add "type T struct" syntax for forward struct declarations. add "type T interface" syntax, but commented out (need to fix semicolons first) R=ken DELTA=452 (259 added, 115 deleted, 78 changed) OCL=16580 CL=16584
2008-10-03interfaces of all typesKen Thompson1-1/+1
R=r OCL=16462 CL=16462
2008-09-01minor bugsKen Thompson1-8/+5
R=r OCL=14702 CL=14702
2008-08-28get rid of static/dynamic array distinctionKen Thompson1-4/+3
R=r OCL=14634 CL=14634
2008-08-27arraysKen Thompson1-2/+4
R=r OCL=14603 CL=14603
2008-08-03make 6a, 6c, 6g, 6l, libmach_amd64 build on 64-bit gcc.Russ Cox1-8/+8
these guys really really want long to be 32-bits, so ,s/long/int32/ (and then manual fixup). still passes all tests. (i started out looking for just those longs that needed to be int32 instead, and it was just too hard to track them down one by one.) the longs were rare enough that i don't think it will cause integration problems. R=ken OCL=13787 CL=13789
2008-07-12morestack magic numberKen Thompson1-0/+1
automatically generated in 6g and 6c, manually set in 6a. format is TEXT a(SB),, $a-b where a is auto size and b is parameter size SVN=126946
2008-07-06took out vlong/uvlong/rune conversionsKen Thompson1-3/+7
SVN=126053
2008-06-13plan9 line numbers and line tableKen Thompson1-0/+7
SVN=122793
2008-06-04fix loader problem loading main from a libraryKen Thompson1-0/+7
SVN=121174
2008-06-04Add compiler source to new directory structureRob Pike1-0/+210
SVN=121164