]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add instrumentation of OKEY
authorDmitry Vyukov <dvyukov@google.com>
Wed, 24 Jun 2015 17:25:51 +0000 (19:25 +0200)
committerRuss Cox <rsc@golang.org>
Fri, 26 Jun 2015 15:54:03 +0000 (15:54 +0000)
commitcd0a8ed48a4a71fb4fdb3d3b22f91d2335e4793a
tree88189741d2a49467569837f509e3e4deca78640f
parentf271f928d9f1beb892dc576d397f37a3fddd6c0b
cmd/compile: add instrumentation of OKEY

Instrument operands of OKEY.
Also instrument OSLICESTR. Previously it was not needed
because of preceeding bounds checks (which were instrumented).
But the preceeding bounds checks have disappeared.

Change-Id: I3b0de213e23cbcf5b8ef800abeded5eeeb3f8287
Reviewed-on: https://go-review.googlesource.com/11417
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/compile/internal/gc/racewalk.go
src/runtime/race/testdata/slice_test.go