github.com/rohankumardubey/syslog-redirector-golang@v0.0.0-20140320174030-4859f03d829a/src/pkg/reflect/asm_arm.s (about) 1 // Copyright 2012 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 #include "../../cmd/ld/textflag.h" 6 7 // makeFuncStub is jumped to by the code generated by MakeFunc. 8 // See the comment on the declaration of makeFuncStub in makefunc.go 9 // for more details. 10 // No argsize here, gc generates argsize info at call site. 11 TEXT ·makeFuncStub(SB),(NOSPLIT|WRAPPER),$8 12 MOVW R7, 4(R13) 13 MOVW $argframe+0(FP), R1 14 MOVW R1, 8(R13) 15 BL ·callReflect(SB) 16 RET 17 18 // methodValueCall is the code half of the function returned by makeMethodValue. 19 // See the comment on the declaration of methodValueCall in makefunc.go 20 // for more details. 21 // No argsize here, gc generates argsize info at call site. 22 TEXT ·methodValueCall(SB),(NOSPLIT|WRAPPER),$8 23 MOVW R7, 4(R13) 24 MOVW $argframe+0(FP), R1 25 MOVW R1, 8(R13) 26 BL ·callMethod(SB) 27 RET