summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-07-01 11:59:32 -0700
committerPaul Berry <[email protected]>2011-07-08 09:59:30 -0700
commitdbaa2e627effbe1361e1a69c23cf247cf86f2709 (patch)
treeaec17f3f1798dc5737cce786e964760c39f85986 /include
parente2c748aec5363981a05f21f26a0c4d37ccf6419d (diff)
glsl: Refactor logic for determining whether to lower return statements.
Previously, do_lower_jumps.cpp determined whether to lower return statements in ir_lower_jumps_visitor::should_lower_jumps(). Moved this logic to ir_lower_jumps_visitor::visit(ir_function_signature *), so that it can be used in determining whether to lower a return statement at the end of a function.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions