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_386.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_386.s')
-rw-r--r-- | src/runtime/asm_386.s | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/runtime/asm_386.s b/src/runtime/asm_386.s index 19fc601259..e1c3267153 100644 --- a/src/runtime/asm_386.s +++ b/src/runtime/asm_386.s @@ -885,23 +885,6 @@ TEXT runtime·ldt0setup(SB),NOSPLIT,$16-0 TEXT runtime·emptyfunc(SB),0,$0-0 RET -// 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 - MOVL p+0(FP), AX - MOVL h+4(FP), BX - MOVL 4(DX), CX - MOVL AX, 0(SP) - MOVL BX, 4(SP) - MOVL CX, 8(SP) - CALL runtime·memhash(SB) - MOVL 12(SP), AX - MOVL AX, ret+8(FP) - RET - // hash function using AES hardware instructions TEXT runtime·aeshash(SB),NOSPLIT,$0-16 MOVL p+0(FP), AX // ptr to data |