]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/runtime/cgo/asm_mipsx.s
Revert "runtime/cgo: store M for C-created thread in pthread key"
[gostls13.git] / src / runtime / cgo / asm_mipsx.s
index a57ae97d7e96a19f0db77ffa026a43ad0fab773b..5e2db0b56ecbe38190a9bad67d40bf20bc92c37d 100644 (file)
@@ -6,14 +6,6 @@
 
 #include "textflag.h"
 
-// Set the x_crosscall2_ptr C function pointer variable point to crosscall2.
-// It's such a pointer chain: _crosscall2_ptr -> x_crosscall2_ptr -> crosscall2
-TEXT ·set_crosscall2(SB),NOSPLIT,$0-0
-       MOVW    _crosscall2_ptr(SB), R5
-       MOVW    $crosscall2(SB), R6
-       MOVW    R6, (R5)
-       RET
-
 // Called by C code generated by cmd/cgo.
 // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr)
 // Saves C callee-saved registers and calls cgocallback with three arguments.