1. 25 Aug, 2014 6 commits
    • Josh Bleecher Snyder's avatar
      cmd/5g, cmd/6g, cmd/8g: clear Addr node when registerizing · be2ad1d7
      Josh Bleecher Snyder authored
      Update #8525
      
      Some temporary variables that were fully registerized nevertheless had stack space allocated for them because the Addrs were still marked as having associated nodes.
      
      Distribution of stack space reserved for temporary variables while running make.bash (6g):
      
      BEFORE
      
      40.89%  7026 allocauto: 0 to 0
       7.83%  1346 allocauto: 0 to 24
       7.22%  1241 allocauto: 0 to 8
       6.30%  1082 allocauto: 0 to 16
       4.96%   853 allocauto: 0 to 56
       4.59%   789 allocauto: 0 to 32
       2.97%   510 allocauto: 0 to 40
       2.32%   399 allocauto: 0 to 48
       2.10%   360 allocauto: 0 to 64
       1.91%   328 allocauto: 0 to 72
      
      AFTER
      
      48.49%  8332 allocauto: 0 to 0
       9.52%  1635 allocauto: 0 to 16
       5.28%   908 allocauto: 0 to 48
       4.80%   824 allocauto: 0 to 32
       4.73%   812 allocauto: 0 to 8
       3.38%   581 allocauto: 0 to 24
       2.35%   404 allocauto: 0 to 40
       2.32%   399 allocauto: 0 to 64
       1.65%   284 allocauto: 0 to 56
       1.34%   230 allocauto: 0 to 72
      
      LGTM=rsc
      R=rsc
      CC=dave, dvyukov, golang-codereviews, minux
      https://golang.org/cl/126160043
      be2ad1d7
    • Russ Cox's avatar
      cmd/gc: fix build · 4af79b63
      Russ Cox authored
      TBR=dfc
      CC=golang-codereviews
      https://golang.org/cl/126210047
      4af79b63
    • Russ Cox's avatar
      cmd/5g, cmd/8g: registerize small structs and arrays · 527ae57e
      Russ Cox authored
      cmd/6g has been doing this for a long time.
      
      Arrays are still problematic on 5g because the addressing
      for t[0] where local var t has type [3]uintptr takes the address of t.
      That's issue 8125.
      
      Fixes #8123.
      
      LGTM=josharian
      R=josharian, dave
      CC=golang-codereviews
      https://golang.org/cl/102890046
      527ae57e
    • Russ Cox's avatar
      cmd/gc: re-enable IfacePointerOnly · 75b72b1b
      Russ Cox authored
      CL 130240043 did this but broke ARM, because
      it made newErrorCString start allocating, so we rolled
      it back in CL 133810043.
      
      CL 133820043 removed that allocation.
      
      Try again.
      
      Fixes #8405.
      
      LGTM=bradfitz, dave
      R=golang-codereviews, bradfitz
      CC=dave, golang-codereviews, r
      https://golang.org/cl/133830043
      75b72b1b
    • Matthew Dempsky's avatar
      cmd/link: fix testdata generation · 2a679f8e
      Matthew Dempsky authored
      Fixes #8494.
      
      LGTM=rsc
      R=golang-codereviews, gobot, rsc, evankroske
      CC=golang-codereviews
      https://golang.org/cl/123040043
      2a679f8e
    • Russ Cox's avatar
      runtime: remove some overuse of uintptr/unsafe.Pointer · 6c67dd90
      Russ Cox authored
      Now 'go vet runtime' only shows:
      
              malloc.go:200: possible misuse of unsafe.Pointer
              malloc.go:214: possible misuse of unsafe.Pointer
              malloc.go:250: possible misuse of unsafe.Pointer
              stubs.go:167: possible misuse of unsafe.Pointer
      
      Those are all unavoidable.
      
      LGTM=josharian
      R=golang-codereviews, dvyukov, josharian
      CC=dave, golang-codereviews
      https://golang.org/cl/135730043
      6c67dd90
  2. 24 Aug, 2014 12 commits
  3. 23 Aug, 2014 4 commits
  4. 22 Aug, 2014 10 commits
  5. 21 Aug, 2014 8 commits