Skip to content

Commit 99276ae

Browse files
committed
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 <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Michael Pratt <[email protected]>
1 parent e72cd86 commit 99276ae

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/runtime/asm_arm.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,6 @@ TEXT ·cgocallback(SB),NOSPLIT,$12-12
633633
// Skip cgocallbackg, just dropm when fn is nil, and frame is the saved g.
634634
// It is used to dropm while thread is exiting.
635635
MOVW fn+0(FP), R1
636-
CMP $0, R1
637636
B.NE loadg
638637
// Restore the g from frame.
639638
MOVW frame+4(FP), g

0 commit comments

Comments
 (0)