]> Cypherpunks repositories - gostls13.git/commit
runtime: simplify typedmemmovepartial
authorIan Lance Taylor <iant@golang.org>
Wed, 8 Apr 2020 04:39:39 +0000 (21:39 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 8 Apr 2020 21:52:45 +0000 (21:52 +0000)
commitb4bb47d88fa95a587b73c936eeb373348dab9f15
tree7b2f4b4b0103f8dbaf12e7a0a0e074fec41500c8
parentddfc55b076d945f215875d6b65c36fc53b332cc1
runtime: simplify typedmemmovepartial

The offset is always a multiple of the pointer size.

Change-Id: I790e087e89a081044a3ec35d99880533a4c929bd
Reviewed-on: https://go-review.googlesource.com/c/go/+/227540
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/mbarrier.go