diff options
author | Russ Cox <rsc@golang.org> | 2014-11-11 17:05:19 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-11-11 17:05:19 -0500 |
commit | fee9e47559cac5ad31a36747627431742ac079d2 (patch) | |
tree | 5f3758d6cee202dff0c0774783e4eaa0ef63e0fb /src/runtime/funcdata.h | |
parent | 1e2d2f09470a2be58a98420b4cecae731b156ee8 (diff) | |
download | go-fee9e47559cac5ad31a36747627431742ac079d2.tar.gz go-fee9e47559cac5ad31a36747627431742ac079d2.zip |
[dev.cc] runtime: convert header files to Go
The conversion was done with an automated tool and then
modified only as necessary to make it compile and run.
[This CL is part of the removal of C code from package runtime.
See golang.org/s/dev.cc for an overview.]
LGTM=r
R=r, austin
CC=dvyukov, golang-codereviews, iant, khr
https://golang.org/cl/167550043
Diffstat (limited to 'src/runtime/funcdata.h')
-rw-r--r-- | src/runtime/funcdata.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/runtime/funcdata.h b/src/runtime/funcdata.h index d6c14fcb41..ce62dabe3e 100644 --- a/src/runtime/funcdata.h +++ b/src/runtime/funcdata.h @@ -3,9 +3,10 @@ // license that can be found in the LICENSE file. // This file defines the IDs for PCDATA and FUNCDATA instructions -// in Go binaries. It is included by both C and assembly, so it must -// be written using #defines. It is included by the runtime package -// as well as the compilers. +// in Go binaries. It is included by assembly sources, so it must +// be written using #defines. +// +// The Go compiler also #includes this file, for now. // // symtab.go also contains a copy of these constants. @@ -50,8 +51,7 @@ /*c2go enum { - PCDATA_ArgSize = 0, - PCDATA_StackMapIndex = 1, + PCDATA_StackMapIndex = 0, FUNCDATA_ArgsPointerMaps = 0, FUNCDATA_LocalsPointerMaps = 1, FUNCDATA_DeadValueMaps = 2, |