Skip to content

Commit 7c5f33b

Browse files
committed
runtime: cull dead code
They are unused, and vet wants them to have a function prototype. Updates #11041 Change-Id: Idedc96ddd3c3cf1b1d2ab6d98796367eab29f032 Reviewed-on: https://go-review.googlesource.com/27492 Run-TryBot: Josh Bleecher Snyder <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 310a40b commit 7c5f33b

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

src/runtime/asm.s

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,5 @@ DATA runtime·no_pointers_stackmap+0x00(SB)/4, $2
1212
DATA runtime·no_pointers_stackmap+0x04(SB)/4, $0
1313
GLOBL runtime·no_pointers_stackmap(SB),RODATA, $8
1414

15-
TEXT runtime·nop(SB),NOSPLIT,$0-0
16-
RET
17-
1815
GLOBL runtime·mheap_(SB), NOPTR, $0
1916
GLOBL runtime·memstats(SB), NOPTR, $0

src/runtime/internal/atomic/asm.s

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/runtime/internal/atomic/sys_nacl_arm.s

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
#include "textflag.h"
66

7-
TEXT runtime∕internal∕atomic·Casp(SB),NOSPLIT,$0
8-
B runtime·cas(SB)
9-
107
// This is only valid for ARMv6+, however, NaCl/ARM is only defined
118
// for ARMv7A anyway.
129
TEXT runtime∕internal∕atomic·Cas(SB),NOSPLIT,$0

0 commit comments

Comments
 (0)