[Compiler-sig] Assign nodes
Finn Bock
bckfnn@worldonline.dk
Tue, 16 Apr 2002 18:09:48 GMT
[Jeremy]
>It looks like the code generator, as you mentioned, has to distinguish
>between store and del anyway. So getting rid of the special case for
>load, just means making it a three part default test.
>
>As it happens, the case of names is handled by three separate methods
>-- loadName(), storeName(), and delName() -- that are called from the
>visitor. So the separate node types doesn't really buy anything.
>
>Does the following patch look good?
At first glance it seems to be exactly what I needed. I'll take a closer
look tomorrow.
regards,
finn