1. 02 Apr, 2009 5 commits
  2. 01 Apr, 2009 7 commits
  3. 31 Mar, 2009 20 commits
    • Robert Griesemer's avatar
      daily snapshot: · 8f628f49
      Robert Griesemer authored
      - adjustments to match new ast/parser interface
      - removed printer.go; functionality now in astprinter.go and docprinter.go
        (more cleanups pending)
      - enabled new doc printing in gds
        (lots of fine tuning missing, but pieces falling into place; e.g. methods
        associated with types. Consts, Vars, to come. Collection of all files
        belonging to a package to come)
      
      R=r
      OCL=26970
      CL=26972
      8f628f49
    • Robert Griesemer's avatar
      1) Move parser.go into src/lib/go · 07513c25
      Robert Griesemer authored
         - minor adjustments as suggested by rsc
      2) Added parser_test fragment
      3) Renamed some types in AST.go per rsc request
      
      R=rsc
      DELTA=2053  (2027 added, 0 deleted, 26 changed)
      OCL=26963
      CL=26971
      07513c25
    • Russ Cox's avatar
      more 386 runtime: · 4702c0e5
      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
      4702c0e5
    • Russ Cox's avatar
      multiple bugs in bitfield handling · 42546f48
      Russ Cox authored
      R=r
      DELTA=6  (3 added, 0 deleted, 3 changed)
      OCL=26944
      CL=26967
      42546f48
    • Robert Griesemer's avatar
      - incorporation of suggestions by rsc · 3f42f442
      Robert Griesemer authored
      R=rsc
      OCL=26959
      CL=26959
      3f42f442
    • Russ Cox's avatar
      minimal 8g. can compile · dc5b4678
      Russ Cox authored
      	package main
      	func main() {
      	}
      
      and not much else.
      
      R=ken
      OCL=26943
      CL=26943
      dc5b4678
    • Russ Cox's avatar
      * move go-specific loader code · b87e3e8b
      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
      b87e3e8b
    • Russ Cox's avatar
      move tiny gsubr functions together at the top of the file. · b199035b
      Russ Cox authored
      delete unused mkenam file
      
      R=ken
      OCL=26940
      CL=26940
      b199035b
    • Ian Lance Taylor's avatar
      Separate the alignment of a field from the alignment of the · 4e841748
      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
      4e841748
    • Russ Cox's avatar
      fix http://b/1748082 · aacdc253
      Russ Cox authored
      package main
      var f = func(a, b int) int { return a + b }
      
      R=ken
      OCL=26935
      CL=26935
      aacdc253
    • Russ Cox's avatar
      fix build (moved decl to go.h earlier · 441da9af
      Russ Cox authored
      and changed vlong to int64).
      
      R=ken
      OCL=26934
      CL=26934
      441da9af
    • Russ Cox's avatar
      move portable object routines (especially · 5e792b6c
      Russ Cox authored
      signature generation) into gc.
      
      R=ken
      OCL=26933
      CL=26933
      5e792b6c
    • Russ Cox's avatar
      closure bug: carry along outnamed flag. · 941ed00b
      Russ Cox authored
      R=ken
      OCL=26930
      CL=26930
      941ed00b
    • Russ Cox's avatar
      move portable code generation (basic statements) to gc. · bac922c6
      Russ Cox authored
      R=ken
      OCL=26929
      CL=26929
      bac922c6
    • David Symonds's avatar
      log.Stderr should actually go to stderr. · 79b55e22
      David Symonds authored
      R=r
      APPROVED=r
      DELTA=1  (0 added, 0 deleted, 1 changed)
      OCL=26926
      CL=26928
      79b55e22
    • Russ Cox's avatar
      move some portable pieces of 6g/gsubr.c into gc/subr.c · d30285a6
      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
      d30285a6
    • Russ Cox's avatar
      delete dregs: inarggen, genpanic, regret · e5ba266e
      Russ Cox authored
      R=ken
      OCL=26916
      CL=26918
      e5ba266e
    • Robert Griesemer's avatar
      daily snapshot: · 8971cf23
      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
      8971cf23
    • Russ Cox's avatar
      move alignment calculations into gc · 8e54729b
      Russ Cox authored
      R=ken
      OCL=26914
      CL=26914
      8e54729b
    • Russ Cox's avatar
      don't crash on · e224b1eb
      Russ Cox authored
      unsafe.Alignof(struct{x float}{0}.x)
      
      R=ken
      OCL=26911
      CL=26913
      e224b1eb
  4. 30 Mar, 2009 6 commits
  5. 28 Mar, 2009 2 commits
    • Robert Griesemer's avatar
      - receiver syntax verification · de9cf528
      Robert Griesemer authored
      - removed left-over panic() call
      - fixed a couple of bugs
      
      R=r
      OCL=26856
      CL=26856
      de9cf528
    • Robert Griesemer's avatar
      Significant parser cleanup: · 75a5d6cd
      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
      75a5d6cd