[M3devel] static chain: what does D do?
Jay K
jay.krell at cornell.edu
Thu Oct 7 10:15:39 CEST 2010
> > Hmm. Do we know what Pascal/Ada/D and friends do in this instance?
>
>
> Good point. I don't know.
Here is part of the answer:
jbook2:d jay$ grep -i chain p* | grep DEF
patch-apple-gcc-4.0.x:+ DEFTREECODE (STATIC_CHAIN_EXPR, "static_chain_expr", tcc_expression, 1)
patch-apple-gcc-4.0.x:+ DEFTREECODE (STATIC_CHAIN_DECL, "static_chain_decl", tcc_expression, 0)
patch-gcc-4.0.x:+ DEFTREECODE (STATIC_CHAIN_EXPR, "static_chain_expr", tcc_expression, 1)
patch-gcc-4.0.x:+ DEFTREECODE (STATIC_CHAIN_DECL, "static_chain_decl", tcc_expression, 0)
patch-gcc-4.1.x:+ DEFTREECODE (STATIC_CHAIN_EXPR, "static_chain_expr", tcc_expression, 1)
patch-gcc-4.1.x:+ DEFTREECODE (STATIC_CHAIN_DECL, "static_chain_decl", tcc_expression, 0)
interesting.
We had one tree code. They add two.
Their changes are more involved than ours.
- Jay
More information about the M3devel
mailing list