1. 01 Jun, 2016 2 commits
    • Robert Griesemer's avatar
      crypto/tls: remove unused variable in benchmark code · fe62a9ee
      Robert Griesemer authored
      This fixes `go test go/types`.
      
      https://golang.org/cl/23487/ introduced this code which contains
      two unused variables (declared and assigned to, but never read).
      cmd/compile doesn't report the error due open issue #8560 (the
      variables are assigned to in a closure), but go/types does. The
      build bot only runs go/types tests in -short mode (which doesn't
      typecheck the std lib), hence this doesn't show up on the dashboard
      either.
      
      We cannot call b.Fatal and friends in the goroutine. Communicating
      the error to the invoking function requires a channel or a mutex.
      Unless the channel/sycnhronized variable is tested in each iteration
      that follows, the iteration blocks if there's a failure. Testing in
      each iteration may affect benchmark times.
      
      One could use a time-out but that time depends on the underlying system.
      Panicking seems good enough in this unlikely case; better than hanging
      or affecting benchmark times.
      
      Change-Id: Idce1172da8058e580fa3b3e398825b0eb4316325
      Reviewed-on: https://go-review.googlesource.com/23528Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      Run-TryBot: Ian Lance Taylor <iant@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      fe62a9ee
    • Keith Randall's avatar
      cmd/compile: test non-constant shifts · e1061222
      Keith Randall authored
      Test all the weird shifts, like int8 shifted right by uint16.
      Increases coverage for shift lowerings in AMD64.rules.
      
      Change-Id: I066fe6ad6bfc05253a8d6a2ee17ff244d3a7652e
      Reviewed-on: https://go-review.googlesource.com/23585
      Run-TryBot: Todd Neal <todd@tneal.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarTodd Neal <todd@tneal.org>
      e1061222
  2. 31 May, 2016 18 commits
  3. 30 May, 2016 3 commits
  4. 29 May, 2016 4 commits
  5. 28 May, 2016 1 commit
  6. 27 May, 2016 12 commits