summaryrefslogtreecommitdiff
path: root/bcc/gencode.c
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>2005-01-23 15:31:04 +0100
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:48:50 +0200
commit62c27c1c5cb6257b13dfc9be0394e0d2e86f2735 (patch)
treef702b7e5f80293367e1b6f9812bd45e80378be26 /bcc/gencode.c
parent6cb598cc5f1c8ae6d14381c2776338584368257e (diff)
downloaddev86-62c27c1c5cb6257b13dfc9be0394e0d2e86f2735.tar.gz
Import Dev86src-0.16.17.tar.gzv0.16.17
Diffstat (limited to 'bcc/gencode.c')
-rw-r--r--bcc/gencode.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/bcc/gencode.c b/bcc/gencode.c
index 9498159..91c524f 100644
--- a/bcc/gencode.c
+++ b/bcc/gencode.c
@@ -223,8 +223,8 @@ struct nodestruct *exp;
if ((right = exp->right) == NULL)
{
makeleaf(left);
-#ifdef DEBUG
- debug(exp);
+#ifdef DBNODE
+ dbnode(exp);
#endif
return;
}
@@ -265,8 +265,8 @@ struct nodestruct *exp;
exp->left.nodeptr = right;
right = exp->right = left;
left = exp->left.nodeptr;
-#ifdef DEBUG
- debugswap();
+#ifdef DBNODE
+ dbnodeswap();
#endif
}
makeleaf(right);
@@ -346,8 +346,8 @@ struct nodestruct *exp;
indirec(source);
}
reguse = regmark;
-#ifdef DEBUG
- debug(exp);
+#ifdef DBNODE
+ dbnode(exp);
#endif
if (commutop
&& ((target->storage == CONSTANT
@@ -358,8 +358,8 @@ struct nodestruct *exp;
{
exp->left.nodeptr = right;
exp->right = left;
-#ifdef DEBUG
- debugswap();
+#ifdef DBNODE
+ dbnodeswap();
#endif
}
}
@@ -720,7 +720,7 @@ register struct nodestruct *exp;
{
{
bugerror("botched nodetype calculation");
-#ifdef DEBUG
+#ifdef DBNODE
comment();
outstr("runtime type is ");
dbtype(target->type);