]> Cypherpunks repositories - gostls13.git/commit
syscall: avoid zeroing unused syscall arguments
authorMaya Rashish <maya@netbsd.org>
Sun, 21 Apr 2019 14:48:28 +0000 (14:48 +0000)
committerIan Lance Taylor <iant@golang.org>
Mon, 16 Sep 2019 14:18:15 +0000 (14:18 +0000)
commit531f1d50cc15c95822d189d039a9bfe47ff70099
treea69cea885395f5cceddbfa909cc10e68dc7b6ca1
parent782228a73f4c6c8019ab5763e749d5ef98905e5f
syscall: avoid zeroing unused syscall arguments

Zeroing unused registers is not required. Removing it makes the code
very slightly smaller and very slightly faster.

Change-Id: I1ec17b497db971ca8a3641e3e94c063571419f27
GitHub-Last-Rev: f721bb263637717e8ff9fd2c34148b5b2762e8c4
GitHub-Pull-Request: golang/go#31596
Reviewed-on: https://go-review.googlesource.com/c/go/+/173160
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/syscall/asm_darwin_amd64.s
src/syscall/asm_linux_amd64.s
src/syscall/asm_unix_amd64.s