summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-06-01 15:06:11 -0700
committerEric Anholt <eric@anholt.net>2010-06-01 15:15:04 -0700
commit459e4a286cce4fa8d52e4f6e157f4c6df46de695 (patch)
tree9f4c370cb352efcfe50560f7e949786b87035670 /ir.h
parente668c2a9eeca65e5b2a7635074d9c47c93a68c6e (diff)
ir_expression_flattening: Fix breakage from hierarchichal visitor.
Similar to other situations where the visitor pattern doesn't fit, in this case we need the pointer to the base instruction in the instruction stream for where to insert any new instructions we generate (not the instruction in the tree we're looking at). By removing the code for setting the base_ir, flattened expressions would end up, for example, before the function definition where they had appeared.
Diffstat (limited to 'ir.h')
0 files changed, 0 insertions, 0 deletions