]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: simplify syntax for pointer arithmetic in mapaccess functions
authorDan Kortschak <dan@kortschak.io>
Sun, 11 Apr 2021 04:48:24 +0000 (14:18 +0930)
committerKeith Randall <khr@golang.org>
Sun, 11 Apr 2021 20:41:32 +0000 (20:41 +0000)
commit0da9eff5034521ccc51c32ebaad5fae20d8345fe
tree9b25046b3a04dba3d63d1c6e194a2088ba8c6f87
parent352d329c44d99b5c6cb325940006ca52f88195f3
runtime: simplify syntax for pointer arithmetic in mapaccess functions

This harmonizes the syntax between mapaccess1 and mapaccess2, and
simplifies the code.

Change-Id: I6db25ffdc871018d399f9030259894b3994c5793
Reviewed-on: https://go-review.googlesource.com/c/go/+/308951
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/map.go