1. 31 Aug, 2009 7 commits
    • Russ Cox's avatar
      use correct pc for printing fn+%#x in tracebacks · 4962e7ee
      Russ Cox authored
      R=austin
      DELTA=12  (2 added, 0 deleted, 10 changed)
      OCL=34098
      CL=34120
      4962e7ee
    • Robert Griesemer's avatar
      associate const and var declarations with a type where possible · 3dc7b382
      Robert Griesemer authored
      R=rsc
      DELTA=105  (87 added, 7 deleted, 11 changed)
      OCL=34062
      CL=34119
      3dc7b382
    • Rob Pike's avatar
      can't encode array or slice - catch in sendType rather than failing in Encode · c62b9d8f
      Rob Pike authored
      R=rsc
      DELTA=38  (33 added, 3 deleted, 2 changed)
      OCL=34101
      CL=34104
      c62b9d8f
    • Russ Cox's avatar
      fix line numbers, again. · fda0e78b
      Russ Cox authored
      if first function in file was dead code, it was being
      discarded along with the file name information for that file.
      leave the functions in the master function list longer:
      let xfol take the dead code out of the code list,
      and let span skip the unreachable functions during output.
      
      before
      	throw: sys·mapaccess1: key not in map
      
      	panic PC=0x2e7b20
      	throw+0x33 /Users/rsc/go/src/pkg/runtime/runtime.c:65
      		throw(0x5834f, 0x0)
      	sys·mapaccess1+0x73 /Users/rsc/go/src/pkg/runtime/hashmap.c:769
      		sys·mapaccess1(0x2b9bd0, 0x0)
      	gob·*Encoder·Encode+0x16b /Users/rsc/go/src/pkg/fmt/print.go:2926
      		gob·*Encoder·Encode(0x2bb440, 0x0, 0x558b0, 0x0, 0x2e4be0, ...)
      	main·walk+0x331 :1603
      		main·walk(0x33a480, 0x0)
      	main·walk+0x271 :1596
      		main·walk(0x300640, 0x0)
      	main·walk+0x271 :1596
      		main·walk(0x300520, 0x0)
      	main·walk+0x271 :1596
      		main·walk(0x300240, 0x0)
      	main·walk+0x271 :1596
      		main·walk(0x678f8, 0x0)
      	main·main+0x22 :1610
      		main·main()
      
      after
      	throw: sys·mapaccess1: key not in map
      
      	panic PC=0x2e7b20
      	throw+0x33 /Users/rsc/go/src/pkg/runtime/runtime.c:65
      		throw(0x5834f, 0x0)
      	sys·mapaccess1+0x73 /Users/rsc/go/src/pkg/runtime/hashmap.c:769
      		sys·mapaccess1(0x2b9bd0, 0x0)
      	gob·*Encoder·Encode+0x16b /Users/rsc/go/src/pkg/gob/encoder.go:319
      		gob·*Encoder·Encode(0x2bb3c0, 0x0, 0x558b0, 0x0, 0x2e4be0, ...)
      	main·walk+0x331 /Users/rsc/dir.go:121
      		main·walk(0x2f6ab0, 0x0)
      	main·walk+0x271 /Users/rsc/dir.go:114
      		main·walk(0x301640, 0x0)
      	main·walk+0x271 /Users/rsc/dir.go:114
      		main·walk(0x301520, 0x0)
      	main·walk+0x271 /Users/rsc/dir.go:114
      		main·walk(0x301240, 0x0)
      	main·walk+0x271 /Users/rsc/dir.go:114
      		main·walk(0x678f8, 0x0)
      	main·main+0x22 /Users/rsc/dir.go:128
      		main·main()
      	mainstart+0xe /Users/rsc/go/src/pkg/runtime/amd64/asm.s:55
      		mainstart()
      	goexit /Users/rsc/go/src/pkg/runtime/proc.c:133
      		goexit()
      
      R=r
      DELTA=46  (20 added, 25 deleted, 1 changed)
      OCL=34094
      CL=34103
      fda0e78b
    • Russ Cox's avatar
      list untested packages instead of tested · 9449e3b0
      Russ Cox authored
      R=r
      DELTA=68  (12 added, 55 deleted, 1 changed)
      OCL=34095
      CL=34102
      9449e3b0
    • Russ Cox's avatar
      array index bug · 6e8524be
      Russ Cox authored
      x[i]
      x not addressable, i >= UINF
      double evaluated i
      second eval killed live registers
      
      manifested as gob instability
      
      R=ken
      OCL=34097
      CL=34099
      6e8524be
    • Rob Pike's avatar
      further simplification of the case fold calculation. · 427a0adb
      Rob Pike authored
      hard to beat at this point, i think.
      
      R=rsc
      DELTA=38  (8 added, 21 deleted, 9 changed)
      OCL=34092
      CL=34096
      427a0adb
  2. 30 Aug, 2009 5 commits
  3. 29 Aug, 2009 5 commits
  4. 28 Aug, 2009 19 commits
  5. 27 Aug, 2009 4 commits