An error occurred fetching the project authors.
  1. 10 Jan, 2012 1 commit
    • Luuk van Dijk's avatar
      gc: inlining fixes · 97fd7d5f
      Luuk van Dijk authored
      flag -l means: inlining on, -ll inline with early typecheck
      -l lazily typechecks imports on use and re-export, nicer for debugging
      -lm produces output suitable for errchk tests, repeated -mm... increases inl.c's verbosity
      export processed constants, instead of originals
      outparams get ->inlvar too, and initialized to zero
      fix shared rlist bug, that lead to typecheck messing up the patched tree
      properly handle non-method calls to methods T.meth(t, a...)
      removed embryonic code to handle closures in inlined bodies
      also inline calls inside closures (todo: move from phase 6b to 4)
      
      Fixes #2579.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/5489106
      97fd7d5f
  2. 15 Dec, 2011 1 commit
  3. 14 Dec, 2011 1 commit
  4. 12 Dec, 2011 2 commits
  5. 09 Dec, 2011 3 commits
  6. 08 Dec, 2011 1 commit
  7. 07 Dec, 2011 1 commit
  8. 05 Dec, 2011 1 commit
  9. 02 Dec, 2011 1 commit
  10. 09 Nov, 2011 2 commits
  11. 07 Nov, 2011 1 commit
    • Ron Minnich's avatar
      gc: use HEADER_IO macro from gopack · 986ad31b
      Ron Minnich authored
      Use HEADER_IO macro from gopack to read archive header
      The HEADER_IO macro portably reads archive headers. The
      current arsize code fails in the case of archive headers produced
      on plan 9 6c and read on other systems (it's not portable).
      Modify lex.c to use the portable macro
      Build tested (including tests) on OSX.
      
      R=golang-dev, rsc
      CC=golang-dev
      https://golang.org/cl/5323072
      986ad31b
  12. 02 Nov, 2011 4 commits
  13. 31 Oct, 2011 1 commit
    • Luuk van Dijk's avatar
      gc: clean up printing. · 50110c9f
      Luuk van Dijk authored
      Got rid of all the magic mystery globals. Now
      for %N, %T, and %S, the flags +,- and # set a sticky
      debug, sym and export mode, only visible in the new fmt.c.
      Default is error mode. Handle h and l flags consistently with
      the least side effects, so we can now change
      things without worrying about unrelated things
      breaking.
      
      fixes #2361
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/5316043
      50110c9f
  14. 26 Oct, 2011 2 commits
  15. 18 Oct, 2011 2 commits
  16. 08 Oct, 2011 1 commit
  17. 07 Sep, 2011 1 commit
    • Russ Cox's avatar
      gc: add -p flag to catch import cycles earlier · 1e480cd1
      Russ Cox authored
      The linker would catch them if gc succeeded,
      but too often the cycle manifests as making the
      current package and the imported copy of itself
      appear as different packages, which result in
      type signature mismatches that confuse users.
      
      As a crutch, add the -p flag to say 'if you see an
      import of this package, give up early'.  Results in
      messages like (during gotest in sort):
      
      export_test.go:7: import "sort" while compiling that package (import cycle)
      export_test.go:7: import "container/heap": package depends on "sort" (import cycle)
      
      Fixes #2042.
      
      R=ken
      CC=bradfitz, dsymonds, golang-dev
      https://golang.org/cl/4972057
      1e480cd1
  18. 29 Aug, 2011 1 commit
    • Lucio De Re's avatar
      gc: fix build on Plan 9 · b3cc4897
      Lucio De Re authored
      gc/bits.c
      . improved format with associated cast;
      gc/closure.c
      gc/dcl.c
      gc/range.c
      gc/reflect.c
      gc/sinit.c
      . dropped unnecessary assignments;
      gc/gen.c
      . dropped unnecessary assignment;
      . added static qualifier to local function definition;
      gc/go.h
      . added varargck pragmas;
      gc/lex.c
      . used {} instead of ; in if statement to suppress warning;
      . replaced exit(0) with exits(0);
      . added compilation conditions for SIGBUS/SIGSEGV;
      . dropped unnecessary assignment;
      gc/mparith2.c
      . dropped four unnecessary assignments/initialisations;
      gc/obj.c
      . added type cast to local pointer;
      gc/pgen.c
      . added cast and related print format;
      gc/subr.c
      . replaced exit(1) with exits("error");
      . replaced unlink() with remove();
      . renamed local cistrmp() as ucistrmp() to remove conflict with
        Plan 9 function by the same name;
      gc/swt.c
      . added braces instead of ; as empty statment;
      gc/typecheck.c
      . added static qualifier to local function definition;
      . dropped unnecessary assignments;
      gc/walk.c
      . dropped unnecessary assignments;
      . added static qualifier to local function definitions;
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4964046
      b3cc4897
  19. 28 Aug, 2011 1 commit
    • Russ Cox's avatar
      gc: tweak and enable escape analysis · db5f9da4
      Russ Cox authored
      -s now means *disable* escape analysis.
      
      Fix escape leaks for struct/slice/map literals.
      Add ... tracking.
      Rewrite new(T) and slice literal into stack allocation when safe.
      
      Add annotations to reflect.
      Reflect is too chummy with the compiler,
      so changes like these affect it more than they should.
      
      R=lvd, dave, gustavo
      CC=golang-dev
      https://golang.org/cl/4954043
      db5f9da4
  20. 25 Aug, 2011 2 commits
  21. 24 Aug, 2011 2 commits
  22. 22 Aug, 2011 1 commit
  23. 28 Jul, 2011 1 commit
  24. 27 Jul, 2011 3 commits
  25. 17 Jun, 2011 1 commit
  26. 07 Jun, 2011 1 commit
  27. 03 Jun, 2011 1 commit