runtime: remove instruction linked with AIX new stack layout

This instruction was linked with a new stack layout which might be
needed for AIX. This change might not be taken finally. So, this
instruction must be removed.

See https://go-review.googlesource.com/c/go/+/138733

Change-Id: Ic4a2566e2882696b437eb817d980b7c4bfc03b18
Reviewed-on: https://go-review.googlesource.com/c/144957
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Clément Chigot 2018-10-26 10:07:36 +02:00 committed by Ian Lance Taylor
parent 44c72957d6
commit 18b84cbd42
1 changed files with 0 additions and 3 deletions

View File

@ -519,9 +519,6 @@ again:
// the BL deferreturn and jmpdefer rewinds to that.
TEXT runtime·jmpdefer(SB), NOSPLIT|NOFRAME, $0-16
MOVD 0(R1), R31
#ifdef GOOS_aix
MOVD 16(R31), R31 // caller LR is on the previous stack frame on AIX
#endif
SUB $8, R31
MOVD R31, LR