aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ast-view.h
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-08-31 21:51:52 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-09-06 01:37:51 +0200
commitde710454f956bf4c2b0c880597de0c79a7449c0f (patch)
treef7068030ae417b426da18adc617329830c7fe1e4 /ast-view.h
parente811962ea0f56da569c6504ac150b357b069b11a (diff)
downloadsparse-dev-de710454f956bf4c2b0c880597de0c79a7449c0f.tar.gz
use UNDEF for missing returns
If a return statement is missing in the last block, the generated IR will be invalid because the number of operands in the exit phi-node will not match the number or parent BBs. Detect this situation and insert an UNDEF for the missing value. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'ast-view.h')
0 files changed, 0 insertions, 0 deletions