]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove unused FUNCDATA_DeadValueMaps
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Mon, 7 Sep 2015 03:36:56 +0000 (15:36 +1200)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Mon, 7 Sep 2015 21:02:11 +0000 (21:02 +0000)
Change-Id: Iccb0221bd9aef062d20798b952eaa09d9e60b902
Reviewed-on: https://go-review.googlesource.com/14345
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/runtime/funcdata.h
src/runtime/symtab.go

index ce62dabe3e151802129b7c180db8c2625ea0222e..375a881bd82b12c914aa21aa239016963449b652 100644 (file)
@@ -14,7 +14,6 @@
 
 #define FUNCDATA_ArgsPointerMaps 0 /* garbage collector blocks */
 #define FUNCDATA_LocalsPointerMaps 1
-#define FUNCDATA_DeadValueMaps 2
 
 // Pseudo-assembly statements.
 
 // assembly code without an explicit specification).
 // This value is generated by the compiler, assembler, or linker.
 #define ArgsSizeUnknown 0x80000000
-
-/*c2go
-enum {
-       PCDATA_StackMapIndex = 0,
-       FUNCDATA_ArgsPointerMaps = 0,
-       FUNCDATA_LocalsPointerMaps = 1,
-       FUNCDATA_DeadValueMaps = 2,
-       ArgsSizeUnknown = 0x80000000,
-};
-*/
index 400ab6df63f7f33fded28ee8b51d9c1c05db3184..fa1caaf6f0cefc51a901c2576a239aaae6895a48 100644 (file)
@@ -25,7 +25,6 @@ const (
        _PCDATA_StackMapIndex       = 0
        _FUNCDATA_ArgsPointerMaps   = 0
        _FUNCDATA_LocalsPointerMaps = 1
-       _FUNCDATA_DeadValueMaps     = 2
        _ArgsSizeUnknown            = -0x80000000
 )