diff options
author | Austin Clements <austin@google.com> | 2018-02-06 18:00:13 -0500 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2018-02-12 21:41:34 +0000 |
commit | 01b8f5d7cf3c5ee83034135870edd8837eae4cba (patch) | |
tree | 18c0f99bc5d6917571a174e8488a52688240b12d /src/runtime/asm_arm.s | |
parent | dfbf568c9f71d5fadfebaa206ab8341168f582d9 (diff) | |
download | go-01b8f5d7cf3c5ee83034135870edd8837eae4cba.tar.gz go-01b8f5d7cf3c5ee83034135870edd8837eae4cba.zip |
runtime: remove legacy comments and code from arm morestack
CL 137410043 deleted support for split stacks, which means morestack
no longer needed to save its caller's frame or argument size or its
caller's argument pointer. However, this commit failed to update the
comment or delete the line that computed the caller's argument
pointer. Clean these up now.
Change-Id: I65725d3d42c86e8adb6645d5aa80c305d473363d
Reviewed-on: https://go-review.googlesource.com/92437
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/asm_arm.s')
-rw-r--r-- | src/runtime/asm_arm.s | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/asm_arm.s b/src/runtime/asm_arm.s index bca0840506..d10c370a7d 100644 --- a/src/runtime/asm_arm.s +++ b/src/runtime/asm_arm.s @@ -370,10 +370,7 @@ noswitch: */ // Called during function prolog when more stack is needed. -// R1 frame size // R3 prolog's LR -// NB. we do not save R0 because we've forced 5c to pass all arguments -// on the stack. // using NOFRAME means do not save LR on stack. // // The traceback routines see morestack on a g0 as being @@ -407,7 +404,6 @@ TEXT runtime·morestack(SB),NOSPLIT|NOFRAME,$0-0 // Set m->morebuf to f's caller. MOVW R3, (m_morebuf+gobuf_pc)(R8) // f's caller's PC MOVW R13, (m_morebuf+gobuf_sp)(R8) // f's caller's SP - MOVW $4(R13), R3 // f's argument pointer MOVW g, (m_morebuf+gobuf_g)(R8) // Call newstack on m->g0's stack. |