DistributiveLaw is not compatible with new ast
|
|
Bugzilla Link |
84 |
Created on |
Nov 10, 2004 17:33 |
Resolution |
FIXED |
Resolved on |
Nov 18, 2004 21:09 |
Version |
1.00beta |
OS |
SunOS |
Architecture |
Sun |
Extended Description
The phase distributive law uses a hack to annotate some information to nodes of
(to me) unknown type by setting the flag field of the node structure to some
value. As the new ast has no such flag field and furthermore the attribute
structure differs from node to node, this cannot be transformed into a clean new
ast solution.
As deeper insight into DL is needed to solve this, I've decided to commit it as
a bug.
The bas macro is:
#define DL_EXPRS_FLAG(n) (n->flag)
defined in DistributiveLaw.c