diff options
| author | Cherry Mui <cherryyz@google.com> | 2023-03-31 19:02:33 +0000 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2023-03-31 19:15:37 +0000 |
| commit | 99276aeb5e8b40ff9cd3cafd47ce11c58ba0130c (patch) | |
| tree | 28a2ce9e6274cc859b5407952383b513dfa1e498 /src/runtime | |
| parent | e72cd86b360aa523ca7af552b7ad9d3e57b28e35 (diff) | |
| download | go-99276aeb5e8b40ff9cd3cafd47ce11c58ba0130c.tar.xz | |
Revert "runtime: fix ARM assembly code in cgocallback"
This reverts CL 479255.
Reason for revert: need to revert CL 392854, and this caused a conflict.
Change-Id: I6cb105c62e51b47de3f652df5f5ee92673a93919
Reviewed-on: https://go-review.googlesource.com/c/go/+/481058
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/asm_arm.s | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/asm_arm.s b/src/runtime/asm_arm.s index 01906dff4a..88e518b0c4 100644 --- a/src/runtime/asm_arm.s +++ b/src/runtime/asm_arm.s @@ -633,7 +633,6 @@ TEXT ·cgocallback(SB),NOSPLIT,$12-12 // Skip cgocallbackg, just dropm when fn is nil, and frame is the saved g. // It is used to dropm while thread is exiting. MOVW fn+0(FP), R1 - CMP $0, R1 B.NE loadg // Restore the g from frame. MOVW frame+4(FP), g |
