Chapter 7: Intermediate representation and symbol table

a := b * -c + b * -c

You can see that the node " * " comes only once in the DAG as well as the leaf " b ", but the meaning conveyed by both the representations (AST as well as the DAG) remains the same.