Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(412)

Side by Side Diff: src/pkg/reflect/asm_arm.s

Issue 12163043: code review 12163043: cmd/gc: record argument size for all indirect function calls (Closed)
Patch Set: diff -r 475e11851fc1 https://dvyukov%40google.com@code.google.com/p/go/ Created 11 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pkg/reflect/asm_amd64.s ('k') | src/pkg/runtime/traceback_arm.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « src/pkg/reflect/asm_amd64.s ('k') | src/pkg/runtime/traceback_arm.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b