Skip to content

Commit

Permalink
runtime: cull dead code
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
josharian committed Aug 22, 2016
1 parent 310a40b commit 7c5f33b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions src/runtime/asm.s
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,5 @@ DATA runtime·no_pointers_stackmap+0x00(SB)/4, $2
DATA runtime·no_pointers_stackmap+0x04(SB)/4, $0
GLOBL runtime·no_pointers_stackmap(SB),RODATA, $8

TEXT runtime·nop(SB),NOSPLIT,$0-0
RET

GLOBL runtime·mheap_(SB), NOPTR, $0
GLOBL runtime·memstats(SB), NOPTR, $0
8 changes: 0 additions & 8 deletions src/runtime/internal/atomic/asm.s

This file was deleted.

3 changes: 0 additions & 3 deletions src/runtime/internal/atomic/sys_nacl_arm.s
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

#include "textflag.h"

TEXT runtime∕internal∕atomic·Casp(SB),NOSPLIT,$0
B runtime·cas(SB)

// This is only valid for ARMv6+, however, NaCl/ARM is only defined
// for ARMv7A anyway.
TEXT runtime∕internal∕atomic·Cas(SB),NOSPLIT,$0
Expand Down

0 comments on commit 7c5f33b

Please sign in to comment.