1. 24 Aug, 2014 2 commits
    • Russ Cox's avatar
      runtime: adjust errorCString definition to avoid allocation · 48452a27
      Russ Cox authored
      The low-level implementation of divide on ARM assumes that
      it can panic with an error created by newErrorCString without
      allocating. If we make interface data words require pointer values,
      the current definition would require an allocation when stored
      in an interface. Changing the definition to use unsafe.Pointer
      instead of uintptr avoids the allocation. This change is okay
      because the field really is a pointer (to a C string in rodata).
      
      Update #8405.
      
      This should make CL 133830043 safe to try again.
      
      LGTM=bradfitz
      R=golang-codereviews, bradfitz
      CC=dave, golang-codereviews, r
      https://golang.org/cl/133820043
      48452a27
    • Dave Cheney's avatar
      undo CL 130240043 / b09f70c301a5 · 5b70b712
      Dave Cheney authored
      This change broke divmod.go on all arm platforms.
      
      ««« original CL description
      cmd/gc: change interface representation: only pointers in data word
      
      Note that there are various cleanups that can be made if we keep
      this change, but I do not want to start making changes that
      depend on this one until the 1.4 cycle closes.
      
      Fixes #8405.
      
      LGTM=r
      R=golang-codereviews, adg, r, bradfitz
      CC=golang-codereviews, iant
      https://golang.org/cl/130240043
      »»»
      
      LGTM=rsc
      R=rsc
      CC=golang-codereviews
      https://golang.org/cl/133810043
      5b70b712
  2. 23 Aug, 2014 4 commits
  3. 22 Aug, 2014 10 commits
  4. 21 Aug, 2014 19 commits
  5. 20 Aug, 2014 5 commits