1
0
mirror of https://github.com/golang/go synced 2024-11-20 01:34:41 -07:00

cmd/{5g,6g,8g,6c}: remove unused macro, use %E to print etype.

R=golang-dev, rsc, dave
CC=golang-dev
https://golang.org/cl/6569044
This commit is contained in:
Rémy Oudompheng 2012-09-24 23:44:00 +02:00
parent f4e76d5e02
commit 33cceb09e2
6 changed files with 4 additions and 10 deletions

View File

@ -34,8 +34,6 @@
#define D_HI D_NONE
#define D_LO D_NONE
#define isregtype(t) ((t)>= D_AX && (t)<=D_R15)
#define BLOAD(r) band(bnot(r->refbehind), r->refahead)
#define BSTORE(r) band(bnot(r->calbehind), r->calahead)
#define LOAD(r) (~r->refbehind.b[z] & r->refahead.b[z])

View File

@ -1011,7 +1011,7 @@ mkvar(Reg *r, Adr *a)
v->node = node;
if(debug['R'])
print("bit=%2d et=%2d w=%d+%d %#N %D flag=%d\n", i, et, o, w, node, a, v->addr);
print("bit=%2d et=%2E w=%d+%d %#N %D flag=%d\n", i, et, o, w, node, a, v->addr);
bit = blsh(i);
if(n == D_EXTERN || n == D_STATIC)

View File

@ -367,8 +367,6 @@ int BtoF(int32);
#define D_HI D_NONE
#define D_LO D_NONE
#define isregtype(t) ((t)>= D_AX && (t)<=D_R15)
/*
* bound
*/

View File

@ -34,8 +34,6 @@
#define D_HI D_NONE
#define D_LO D_NONE
#define isregtype(t) ((t)>= D_AX && (t)<=D_R15)
#define BLOAD(r) band(bnot(r->refbehind), r->refahead)
#define BSTORE(r) band(bnot(r->calbehind), r->calahead)
#define LOAD(r) (~r->refbehind.b[z] & r->refahead.b[z])

View File

@ -860,7 +860,7 @@ addmove(Reg *r, int bn, int rn, int f)
p1->as = AMOVL;
switch(v->etype) {
default:
fatal("unknown type\n");
fatal("unknown type %E", v->etype);
case TINT8:
case TUINT8:
case TBOOL:
@ -1042,7 +1042,7 @@ mkvar(Reg *r, Adr *a)
v->node = node;
if(debug['R'])
print("bit=%2d et=%2d w=%d+%d %#N %D flag=%d\n", i, et, o, w, node, a, v->addr);
print("bit=%2d et=%2E w=%d+%d %#N %D flag=%d\n", i, et, o, w, node, a, v->addr);
ostats.nvar++;

View File

@ -911,7 +911,7 @@ mkvar(Reg *r, Adr *a)
v->node = node;
if(debug['R'])
print("bit=%2d et=%2d w=%d+%d %#N %D flag=%d\n", i, et, o, w, node, a, v->addr);
print("bit=%2d et=%2E w=%d+%d %#N %D flag=%d\n", i, et, o, w, node, a, v->addr);
ostats.nvar++;
bit = blsh(i);