summaryrefslogtreecommitdiff
path: root/src/cmd/8g/reg.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2013-07-19 16:04:09 -0400
committerRuss Cox <rsc@golang.org>2013-07-19 16:04:09 -0400
commitf4020ef56c1a6c8a836eeb235027d820ef1a9de5 (patch)
treece435ffb2aefb376c74038ba29df4e0f0f0878b7 /src/cmd/8g/reg.c
parent61cb7c17c9217b3ed5b9b7b77e8d19054e990b91 (diff)
downloadgo-f4020ef56c1a6c8a836eeb235027d820ef1a9de5.tar.gz
runtime: use funcdata to supply garbage collection information
This CL introduces a FUNCDATA number for runtime-specific garbage collection metadata, changes the C and Go compilers to emit that metadata, and changes the runtime to expect it. The old pseudo-instructions that carried this information are gone, as is the linker code to process them. R=golang-dev, dvyukov, cshapiro CC=golang-dev https://codereview.appspot.com/11406044
Diffstat (limited to 'src/cmd/8g/reg.c')
-rw-r--r--src/cmd/8g/reg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cmd/8g/reg.c b/src/cmd/8g/reg.c
index 4a0bf91fb..e8f055f76 100644
--- a/src/cmd/8g/reg.c
+++ b/src/cmd/8g/reg.c
@@ -195,10 +195,7 @@ regopt(Prog *firstp)
case AGLOBL:
case ANAME:
case ASIGNAME:
- case ALOCALS:
case ATYPE:
- case ANPTRS:
- case APTRS:
continue;
}
r = rega();