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_arm64.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_arm64.s')
-rw-r--r-- | src/runtime/asm_arm64.s | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/runtime/asm_arm64.s b/src/runtime/asm_arm64.s index 9d6d963d7f..32c06d5c37 100644 --- a/src/runtime/asm_arm64.s +++ b/src/runtime/asm_arm64.s @@ -713,23 +713,6 @@ TEXT runtime·abort(SB),NOSPLIT,$-8-0 B (ZR) UNDEF -// 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,$40-24 - GO_ARGS - NO_LOCAL_POINTERS - MOVD p+0(FP), R3 - MOVD h+8(FP), R4 - MOVD 8(R26), R5 - MOVD R3, 8(RSP) - MOVD R4, 16(RSP) - MOVD R5, 24(RSP) - BL runtime·memhash(SB) - MOVD 32(RSP), R3 - MOVD R3, ret+16(FP) - RET - // memequal(p, q unsafe.Pointer, size uintptr) bool TEXT runtime·memequal(SB),NOSPLIT,$-8-25 MOVD a+0(FP), R1 |