ta0kira / zeolite

Zeolite is a statically-typed, general-purpose programming language.
Apache License 2.0
18 stars 0 forks source link

Get rid of redundant return in C++ code gen. #35

Closed ta0kira closed 4 years ago

ta0kira commented 4 years ago

Get rid of the unreachable return returns; at the end of functions that use explicit returns. This should be easy because ProcedureContext keeps track of unreachable points in the procedure.