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

Delta Between Two Patch Sets: src/pkg/runtime/funcdata.h

Issue 11590043: code review 11590043: runtime: cleanup: use ArgsSizeUnknown to mark all functions (Closed)
Left Patch Set: diff -r 548d6782f20e https://khr%40golang.org@code.google.com/p/go/ Created 11 years, 8 months ago
Right Patch Set: diff -r 548d6782f20e https://khr%40golang.org@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:
Right: Side by side diff | Download
« no previous file with change/comment | « src/cmd/ld/lib.c ('k') | src/pkg/runtime/runtime.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2013 The Go Authors. All rights reserved. 1 // Copyright 2013 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 // This file defines the IDs for PCDATA and FUNCDATA instructions 5 // This file defines the IDs for PCDATA and FUNCDATA instructions
6 // in Go binaries. It is included by both C and assembly, so it must 6 // in Go binaries. It is included by both C and assembly, so it must
7 // be written using #defines. It is included by the runtime package 7 // be written using #defines. It is included by the runtime package
8 // as well as the compilers. 8 // as well as the compilers.
9 9
10 #define PCDATA_ArgSize 0 10 #define PCDATA_ArgSize 0
11 11
12 // To be used in assembly. 12 // To be used in assembly.
13 #define ARGSIZE(n) PCDATA $PCDATA_ArgSize, $n 13 #define ARGSIZE(n) PCDATA $PCDATA_ArgSize, $n
14
15 // ArgsSizeUnknown is set in Func.argsize to mark all functions
16 // whose argument size is unknown (C vararg functions, and
17 // assembly code without an explicit specification).
18 // This value is generated by the compiler, assembler, or linker.
19 #define ArgsSizeUnknown 0x80000000
LEFTRIGHT

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