1. 29 Aug, 2011 3 commits
    • Russ Cox's avatar
      gc: fix arm build · 77f0bdce
      Russ Cox authored
      Escape analysis was incorrectly assuming that
      functions without bodies don't leak their
      parameters.  This meant that sync/atomic's
      TestAddInt64 was allocating x on its stack,
      and then x was not properly aligned for use
      with the atomic 64-bit instructions.  Obviously
      we should figure out the alignment story on 5g
      too, but this fix is correct and should restore the
      build to 'ok'.
      
      TBR=lvd
      CC=golang-dev
      https://golang.org/cl/4964047
      77f0bdce
    • Russ Cox's avatar
      godashboard: fix utf-8 in user names · a3bc7681
      Russ Cox authored
      Also standardize on 'utf8' as encoding name.
      Apparently either is acceptable.
      
      The user, because it is a StringProperty,
      must be of type unicode in order to handle
      Unicode correctly.  It must *not* have type string.
      
      The desc, because it is a BlobProperty, must
      be of type string in order to handle Unicode correctly.
      It must *not* have type unicode.
      
      Yay encoding type pedantry without static typing.
      
      R=adg, mattn.jp
      CC=golang-dev
      https://golang.org/cl/4973045
      a3bc7681
    • Jaroslavas Počepko's avatar
      runtime: go interface to cdecl calbacks · f627215b
      Jaroslavas Počepko authored
      cdecl calbacks have been implemented in C/ASM code, just Go function is missing
      
      R=golang-dev, alex.brainman
      CC=golang-dev
      https://golang.org/cl/4969047
      f627215b
  2. 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
  3. 27 Aug, 2011 1 commit
  4. 26 Aug, 2011 23 commits
  5. 25 Aug, 2011 12 commits