1. 11 Mar, 2014 3 commits
    • Alex Brainman's avatar
      syscall: replace mksyscall_windows.pl with mksyscall_windows.go · c07ca774
      Alex Brainman authored
      Not many windows users have perl installed. They can just use
      standard go tools instead. Also mkerrors_windows.sh script
      removed - we don't add any new "unix" errors to windows
      syscall package anymore.
      
      LGTM=rsc
      R=golang-codereviews, rsc
      CC=golang-codereviews
      https://golang.org/cl/41060044
      c07ca774
    • Dave Cheney's avatar
      runtime: more Native Client fixes · 6431be3f
      Dave Cheney authored
      Thanks to Ian for spotting these.
      
      runtime.h: define uintreg correctly.
      stack.c: address warning caused by the type of uintreg being 32 bits on amd64p32.
      
      Commentary (mainly for my own use)
      
      nacl/amd64p32 defines a machine with 64bit registers, but address space is limited to a 4gb window (the window is placed randomly inside the full 48 bit virtual address space of a process). To cope with this 6c defines _64BIT and _64BITREG.
      
      _64BITREG is always defined by 6c, so both GOARCH=amd64 and GOARCH=amd64p32 use 64bit wide registers.
      
      However _64BIT itself is only defined when 6c is compiling for amd64 targets. The definition is elided for amd64p32 environments causing int, uint and other arch specific types to revert to their 32bit definitions.
      
      LGTM=iant
      R=iant, rsc, remyoudompheng
      CC=golang-codereviews
      https://golang.org/cl/72860046
      6431be3f
    • Alan Donovan's avatar
      net/http: eliminate defined-but-not-used var. · cf57cf17
      Alan Donovan authored
      gc does not report this as an error, but go/types does.
      (I suspect that constructing a closure counts as a reference
      to &all in gc's implementation).
      
      This is not a tool bug, since the spec doesn't require
      implementations to implement this check, but it does
      illustrate that dialect variations are always a nuisance.
      
      LGTM=rsc, bradfitz
      R=bradfitz
      CC=golang-codereviews, gri, rsc
      https://golang.org/cl/73850043
      cf57cf17
  2. 10 Mar, 2014 7 commits
  3. 09 Mar, 2014 1 commit
  4. 08 Mar, 2014 1 commit
  5. 07 Mar, 2014 21 commits
  6. 06 Mar, 2014 7 commits