mirror of
https://github.com/golang/go
synced 2024-10-05 06:21:24 -06:00
b1b67a36ac
Step 3 of http://golang.org/s/go11func. Fixes #3736. Fixes #3738. Fixes #4081. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7393050
14 lines
429 B
ArmAsm
14 lines
429 B
ArmAsm
// 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 the code half of the function returned by MakeFunc.
|
|
// See the comment on the declaration of makeFuncStub in value.go
|
|
// for more details.
|
|
TEXT ·makeFuncStub(SB),7,$8
|
|
MOVL DX, 0(SP)
|
|
LEAL arg+0(FP), CX
|
|
MOVL CX, 4(SP)
|
|
CALL ·callReflect(SB)
|
|
RET
|