diff options
author | Cholerae Hu <choleraehyq@gmail.com> | 2017-08-05 14:44:00 +0800 |
---|---|---|
committer | David Chase <drchase@google.com> | 2017-08-11 18:11:22 +0000 |
commit | 57bf6aca711a53aa7fea877b98896cd0445c6ad0 (patch) | |
tree | c713a6faa9beace0a076b836c269726297e97db1 /src/runtime/asm_arm.s | |
parent | adc28cb1e03d4fd3e4750cdcc6215976e3e250c9 (diff) | |
download | go-57bf6aca711a53aa7fea877b98896cd0445c6ad0.tar.gz go-57bf6aca711a53aa7fea877b98896cd0445c6ad0.zip |
runtime, cmd/compile: add intrinsic getclosureptr
Intrinsic enabled on all architectures,
runtime asm implementation removed on all architectures.
Fixes #21258
Change-Id: I2cb86d460b497c2f287a5b3df5c37fdb231c23a7
Reviewed-on: https://go-review.googlesource.com/53411
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/runtime/asm_arm.s')
-rw-r--r-- | src/runtime/asm_arm.s | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/runtime/asm_arm.s b/src/runtime/asm_arm.s index 2c875fca77..74761d4450 100644 --- a/src/runtime/asm_arm.s +++ b/src/runtime/asm_arm.s @@ -719,23 +719,6 @@ TEXT runtime·aeshashstr(SB),NOSPLIT,$-4-0 MOVW $0, R0 MOVW (R0), R1 -// memhash_varlen(p unsafe.Pointer, h seed) uintptr -// redirects to memhash(p, h, size) using the size -// stored in the closure. -TEXT runtime·memhash_varlen(SB),NOSPLIT,$16-12 - GO_ARGS - NO_LOCAL_POINTERS - MOVW p+0(FP), R0 - MOVW h+4(FP), R1 - MOVW 4(R7), R2 - MOVW R0, 4(R13) - MOVW R1, 8(R13) - MOVW R2, 12(R13) - BL runtime·memhash(SB) - MOVW 16(R13), R0 - MOVW R0, ret+8(FP) - RET - // memequal(p, q unsafe.Pointer, size uintptr) bool TEXT runtime·memequal(SB),NOSPLIT,$-4-13 MOVW a+0(FP), R1 |