- 31 Mar, 2009 18 commits
-
-
Russ Cox authored
remove use of _subv in vlrt.c darwin/386/signal.c darwin/386/* linux/386/* (forgotten before) can run empty program on darwin/386 now. R=r DELTA=1140 (1021 added, 114 deleted, 5 changed) OCL=26942 CL=26968
-
Russ Cox authored
R=r DELTA=6 (3 added, 0 deleted, 3 changed) OCL=26944 CL=26967
-
Robert Griesemer authored
R=rsc OCL=26959 CL=26959
-
Russ Cox authored
package main func main() { } and not much else. R=ken OCL=26943 CL=26943
-
Russ Cox authored
into gc directory, where it gets included as ../gc/ldbody this is similar to the assemblers including ../cc/lexbody and ../cc/macbody. * hook go-specific loader code into 8l. * make current 8.out.h and 6.out.h backward compatible with plan 9's versions. i had added some constants in the middle of enums and have now moved them to the end. this keeps us from invalidating old .8 and .6 files. not sure how much it really matters, but easy to do. R=r DELTA=1314 (667 added, 623 deleted, 24 changed) OCL=26938 CL=26941
-
Russ Cox authored
delete unused mkenam file R=ken OCL=26940 CL=26940
-
Ian Lance Taylor authored
type of the field. Use the field alignment to compute the size of a structure. This may help 8g but is mainly for gccgo. gccgo maintains the standard C/C++ ABI for structure field alignment. For the i386, this requires that a float64 field in a struct be aligned on a 32-bit boundary, although for efficiency a variable of type float64 or []float64 should be aligned on a 64-bit boundary. I also removed the unused size field from structField. R=r DELTA=117 (75 added, 2 deleted, 40 changed) OCL=26842 CL=26936
-
http://b/1748082Russ Cox authored
package main var f = func(a, b int) int { return a + b } R=ken OCL=26935 CL=26935
-
Russ Cox authored
and changed vlong to int64). R=ken OCL=26934 CL=26934
-
Russ Cox authored
signature generation) into gc. R=ken OCL=26933 CL=26933
-
Russ Cox authored
R=ken OCL=26930 CL=26930
-
Russ Cox authored
R=ken OCL=26929 CL=26929
-
David Symonds authored
R=r APPROVED=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=26926 CL=26928
-
Russ Cox authored
int brcom(int); int brrev(int); void setmaxarg(Type*); Sig* lsort(Sig*, int(*)(Sig*, Sig*)); int dotoffset(Node*, int*, Node**); void stringpool(Node*); void tempname(Node*, Type*); R=ken OCL=26922 CL=26922
-
Russ Cox authored
R=ken OCL=26916 CL=26918
-
Robert Griesemer authored
- separating printing of AST and documentation - astprinter: will subsume ast printing functionality of printer - docprinter: will subsume doc printing functionality of printer also: more logic to collect all the documentation pertaining to all files of a package - parser: some cleanups, stricter syntax checks - gds: hooks to test new doc printer (disabled) R=r OCL=26915 CL=26915
-
Russ Cox authored
R=ken OCL=26914 CL=26914
-
Russ Cox authored
unsafe.Alignof(struct{x float}{0}.x) R=ken OCL=26911 CL=26913
-
- 30 Mar, 2009 6 commits
-
-
Russ Cox authored
R=ken OCL=26909 CL=26909
-
Rob Pike authored
R=gri DELTA=3 (0 added, 0 deleted, 3 changed) OCL=26908 CL=26908
-
Russ Cox authored
instead of dereferencing nil, so no more SIGSEGVs. R=r DELTA=28 (0 added, 14 deleted, 14 changed) OCL=26881 CL=26881
-
Russ Cox authored
uses gcc to determine system header layouts and emits simple C or Go. see comment in main.c. R=r DELTA=1069 (1067 added, 0 deleted, 2 changed) OCL=26682 CL=26880
-
Russ Cox authored
cope better with p4 not found. R=r DELTA=3 (0 added, 0 deleted, 3 changed) OCL=26877 CL=26879
-
Russ Cox authored
R=r DELTA=1926 (1727 added, 168 deleted, 31 changed) OCL=26876 CL=26878
-
- 28 Mar, 2009 3 commits
-
-
Robert Griesemer authored
- removed left-over panic() call - fixed a couple of bugs R=r OCL=26856 CL=26856
-
Robert Griesemer authored
- commented public interface - much better and very precise error messages - much better tracing output - many more checks (still permits more than just syntactically legal programs, but much more is checked that can be checked w/o semantic information) - updated with respect to updated AST - general cleanup throughout Parser almost ready for move into lib/go. R=r OCL=26853 CL=26855
-
Robert Griesemer authored
- remove ':' token from operator precedence levels R=rsc DELTA=25 (13 added, 8 deleted, 4 changed) OCL=26850 CL=26854
-
- 27 Mar, 2009 9 commits
-
-
Ian Lance Taylor authored
R=r DELTA=6 (6 added, 0 deleted, 0 changed) OCL=26836 CL=26841
-
Robert Griesemer authored
renamed PairExpr -> KeyValueExpr and PairExprList -> KeyValueList (to match corresponding nodes in AST per rsc' suggestion) - added a couple of TODOs R=r,rsc DELTA=10 (2 added, 0 deleted, 8 changed) OCL=26837 CL=26840
-
Robert Griesemer authored
R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=26810 CL=26834
-
Ian Lance Taylor authored
R=r DELTA=4 (4 added, 0 deleted, 0 changed) OCL=26797 CL=26814
-
Robert Griesemer authored
- more comments on parser, various cleanups TBR=r OCL=26813 CL=26813
-
Robert Griesemer authored
- permit scanner to run w/o error handler - provide an error counter R=iant DELTA=43 (25 added, 0 deleted, 18 changed) OCL=26804 CL=26812
-
Rob Pike authored
R=iant DELTA=4 (0 added, 0 deleted, 4 changed) OCL=26802 CL=26811
-
Robert Griesemer authored
R=r DELTA=1509 (756 added, 751 deleted, 2 changed) OCL=26799 CL=26801
-
Robert Griesemer authored
R=r DELTA=27 (25 added, 0 deleted, 2 changed) OCL=26798 CL=26798
-
- 26 Mar, 2009 4 commits
-
-
Robert Griesemer authored
R=r OCL=26794 CL=26794
-
Robert Griesemer authored
- by moving Position into token, scanner dependencies are removed from several files - clearer field names in token.Position, now possible to have a Pos() accessor w/o naming conflicts - added Pos() accessor - use anonymous token.Position field in AST nodes R=r DELTA=244 (28 added, 55 deleted, 161 changed) OCL=26786 CL=26793
-
Robert Griesemer authored
R=rsc DELTA=22 (22 added, 0 deleted, 0 changed) OCL=26779 CL=26792
-
Robert Griesemer authored
- convert some functions into methods - corresponding changes in pretty R=r DELTA=57 (3 added, 0 deleted, 54 changed) OCL=26764 CL=26777
-