OLD | NEW |
1 // Copyright 2012 The Go Authors. All rights reserved. | 1 // Copyright 2012 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 // makeFuncStub is jumped to by the code generated by MakeFunc. | 5 // makeFuncStub is jumped to by the code generated by MakeFunc. |
6 // See the comment on the declaration of makeFuncStub in makefunc.go | 6 // See the comment on the declaration of makeFuncStub in makefunc.go |
7 // for more details. | 7 // for more details. |
| 8 // No argsize here, gc generates argsize info at call site. |
8 TEXT ·makeFuncStub(SB),7,$8 | 9 TEXT ·makeFuncStub(SB),7,$8 |
9 MOVW R7, 4(R13) | 10 MOVW R7, 4(R13) |
10 MOVW $argframe+0(FP), R1 | 11 MOVW $argframe+0(FP), R1 |
11 MOVW R1, 8(R13) | 12 MOVW R1, 8(R13) |
12 BL ·callReflect(SB) | 13 BL ·callReflect(SB) |
13 RET | 14 RET |
14 | 15 |
15 // methodValueCall is the code half of the function returned by makeMethodValue. | 16 // methodValueCall is the code half of the function returned by makeMethodValue. |
16 // See the comment on the declaration of methodValueCall in makefunc.go | 17 // See the comment on the declaration of methodValueCall in makefunc.go |
17 // for more details. | 18 // for more details. |
| 19 // No argsize here, gc generates argsize info at call site. |
18 TEXT ·methodValueCall(SB),7,$8 | 20 TEXT ·methodValueCall(SB),7,$8 |
19 MOVW R7, 4(R13) | 21 MOVW R7, 4(R13) |
20 MOVW $argframe+0(FP), R1 | 22 MOVW $argframe+0(FP), R1 |
21 MOVW R1, 8(R13) | 23 MOVW R1, 8(R13) |
22 BL ·callMethod(SB) | 24 BL ·callMethod(SB) |
23 RET | 25 RET |
OLD | NEW |