2012-09-24 18:06:32 -06:00
|
|
|
// Copyright 2012 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
// makeFuncStub is jumped to by the code generated by MakeFunc.
|
2013-03-21 14:59:16 -06:00
|
|
|
// See the comment on the declaration of makeFuncStub in makefunc.go
|
2012-09-24 18:06:32 -06:00
|
|
|
// for more details.
|
2013-02-22 13:23:57 -07:00
|
|
|
TEXT ·makeFuncStub(SB),7,$8
|
|
|
|
MOVW R7, 4(R13)
|
2013-03-22 10:57:55 -06:00
|
|
|
MOVW $argframe+0(FP), R1
|
2012-09-24 18:06:32 -06:00
|
|
|
MOVW R1, 8(R13)
|
|
|
|
BL ·callReflect(SB)
|
|
|
|
RET
|
2013-03-21 14:59:16 -06:00
|
|
|
|
|
|
|
// methodValueCall is the code half of the function returned by makeMethodValue.
|
|
|
|
// See the comment on the declaration of methodValueCall in makefunc.go
|
|
|
|
// for more details.
|
|
|
|
TEXT ·methodValueCall(SB),7,$8
|
|
|
|
MOVW R7, 4(R13)
|
2013-03-22 10:57:55 -06:00
|
|
|
MOVW $argframe+0(FP), R1
|
2013-03-21 14:59:16 -06:00
|
|
|
MOVW R1, 8(R13)
|
|
|
|
BL ·callMethod(SB)
|
|
|
|
RET
|