1
0
mirror of https://github.com/golang/go synced 2024-11-18 17:54:57 -07:00

liblink: remove class from %#D formatter on 6l

This was a copy-paste error from 9l.  Besides incorrectly referring to
cnames9, 6l doesn't even use a->class, so simply remove this.

Fixes #9320

Change-Id: I0e3440c9dae1c3408eb795b3645f9f1dd8f50aed
Reviewed-on: https://go-review.googlesource.com/1516
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Austin Clements 2014-12-15 10:51:31 -05:00
parent 5f029deb39
commit ab9ec2e401

View File

@ -155,8 +155,6 @@ Dconv(Fmt *fp)
else else
s += sprint(s, "%d ", i); s += sprint(s, "%d ", i);
s += sprint(s, "offset=%lld etype=%E width=%lld", a->offset, a->etype, a->width); s += sprint(s, "offset=%lld etype=%E width=%lld", a->offset, a->etype, a->width);
if(a->class != 0)
s += sprint(s, " class=%s", cnames9[(int)a->class]);
if(a->sym != nil) if(a->sym != nil)
s += sprint(s, " sym=%s", a->sym->name); s += sprint(s, " sym=%s", a->sym->name);
if(a->type == D_BRANCH && a->u.branch != nil) if(a->type == D_BRANCH && a->u.branch != nil)