]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] cmd/asm: the text flag argument to TEXT psudo-op is optional
authorRob Pike <r@golang.org>
Wed, 28 Jan 2015 18:21:04 +0000 (10:21 -0800)
committerRob Pike <r@golang.org>
Wed, 28 Jan 2015 20:34:40 +0000 (20:34 +0000)
commitad8223865319e5325e9f79cfd340d906d1c85bb6
tree3c1554720046be5bbbed6aef45d99445fa989db4
parent92e5120c772fd92432fd05e271f6a6b380f22550
[dev.cc] cmd/asm: the text flag argument to TEXT psudo-op is optional

Allow TEXT to have two or three operands.
In
TEXT foo(SB),flag,$0
the flag can be missing, in which case we take it to be zero.

Change-Id: I7b88543b52019f7890baac4b95f9e63884d43c83
Reviewed-on: https://go-review.googlesource.com/3440
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/asm/asm.go