diff options
author | Austin Clements <aclements@csail.mit.edu> | 2009-08-25 17:57:40 -0700 |
---|---|---|
committer | Austin Clements <aclements@csail.mit.edu> | 2009-08-25 17:57:40 -0700 |
commit | eea7ddcd6ecfc60276ecb6058d1e52ac24c66743 (patch) | |
tree | cde861533927fa08c63fc791c583d6a50f0ca158 /src | |
parent | a399c977c938c97082e61a01725cfe6d9db34867 (diff) | |
download | golang-eea7ddcd6ecfc60276ecb6058d1e52ac24c66743.tar.gz |
Make the expression compiler not use the AST visitor. The
statement compiler will be fixed in a later CL.
The input and output of the expression compiler are now
clearly distinguished. In the process, I made the individual
expression compilers operate on the compiled form of their
children instead of AST nodes. As a result, there are now
fewer places where I hand-craft intermediate expression nodes.
The diff looks scarier than it is, mostly because exprCompiler
has been split into the input and output types, resulting in
lots of little renames.
R=rsc
APPROVED=rsc
DELTA=774 (204 added, 199 deleted, 371 changed)
OCL=33851
CL=33851
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions