summaryrefslogtreecommitdiff
path: root/src/runtime/symtab.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-11-11 17:04:34 -0500
committerRuss Cox <rsc@golang.org>2014-11-11 17:04:34 -0500
commitbb9ee976541b2f008a1d1ded4bab7d823b313a53 (patch)
treea54192d2667891e2db5872bcbc150ea54db4e8ed /src/runtime/symtab.go
parent6f55366e3789180fe24870e9ae8b064dae7d5f50 (diff)
downloadgo-bb9ee976541b2f008a1d1ded4bab7d823b313a53.tar.gz
[dev.cc] runtime: convert panic and stack code from C 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, dave CC=austin, dvyukov, golang-codereviews, iant, khr https://codereview.appspot.com/166520043
Diffstat (limited to 'src/runtime/symtab.go')
-rw-r--r--src/runtime/symtab.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/runtime/symtab.go b/src/runtime/symtab.go
index 45d107b77..e11fd128a 100644
--- a/src/runtime/symtab.go
+++ b/src/runtime/symtab.go
@@ -22,8 +22,7 @@ func (f *Func) raw() *_func {
// funcdata.h
const (
- _PCDATA_ArgSize = 0
- _PCDATA_StackMapIndex = 1
+ _PCDATA_StackMapIndex = 0
_FUNCDATA_ArgsPointerMaps = 0
_FUNCDATA_LocalsPointerMaps = 1
_FUNCDATA_DeadValueMaps = 2