]> Cypherpunks repositories - gostls13.git/commit
runtime: simplify constant strings in asm
authorJosh Bleecher Snyder <josharian@gmail.com>
Wed, 27 Feb 2019 18:14:44 +0000 (10:14 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 14 Mar 2019 00:12:28 +0000 (00:12 +0000)
commitee1c76dccdfb2a40fb21a7875cccd8fc6d76d7ad
tree10d1a633797c528693228b5fe40779316cdd8e3b
parent7c04110c5203c4502d4c23f1464acb9f07f8bb6b
runtime: simplify constant strings in asm

As of CL 163747, we can write arbitrary length strings
in assembly DATA instructions.

Make use of it here to improve readability.

Change-Id: I556279ca893f527874e3b26112c43573834ccd9c
Reviewed-on: https://go-review.googlesource.com/c/go/+/167386
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/asm_386.s
src/runtime/asm_amd64.s