summaryrefslogtreecommitdiff
path: root/src/reflect/asm_amd64.s
Commit message (Collapse)AuthorAgeFilesLines
* runtime: look up arg stackmap for makeFuncStub/methodValueStub during tracebackRuss Cox2014-09-121-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | makeFuncStub and methodValueStub are used by reflect as generic function implementations. Each call might have different arguments. Extract those arguments from the closure data instead of assuming it is the same each time. Because the argument map is now being extracted from the function itself, we don't need the special cases in reflect.Call anymore, so delete those. Fixes an occasional crash seen when stack copying does not update makeFuncStub's arguments correctly. Will also help make it safe to require stack maps in the garbage collector. Derived from CL 142000044 by khr. LGTM=khr R=khr CC=golang-codereviews https://codereview.appspot.com/143890044
* build: move package sources from src/pkg to srcRuss Cox2014-09-081-0/+27
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.