]> Cypherpunks repositories - gostls13.git/commit
runtime: clean up adjustpointer and eliminate write barrier
authorAustin Clements <austin@google.com>
Mon, 23 Nov 2015 16:34:16 +0000 (11:34 -0500)
committerAustin Clements <austin@google.com>
Sun, 28 Feb 2016 04:19:01 +0000 (04:19 +0000)
commitd62d8318826e17fff09fb2188dcb22fbb121fb19
tree5329244a754888646633777f00c3e07f5691a86f
parent71cc445cf92dd3014e8b382809ed1b9c077e7973
runtime: clean up adjustpointer and eliminate write barrier

Commit a5c3bbe modified adjustpointers to use *uintptrs instead of
*unsafe.Pointers for manipulating stack pointers for clarity and to
eliminate the unnecessary write barrier when writing the updated stack
pointer.

This commit makes the equivalent change to adjustpointer.

Change-Id: I6dc309590b298bdd86ecdc9737db848d6786c3f7
Reviewed-on: https://go-review.googlesource.com/17148
Reviewed-by: Rick Hudson <rlh@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/stack.go