]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Add Block.unreachable_exit and have it set accordingly by FlowAnalyzer
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 4 Feb 2021 14:53:55 +0000 (15:53 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 4 Feb 2021 14:53:55 +0000 (15:53 +0100)
commitb1bf1e999fcfd32dacbc7396dbeda64882272b8a
tree494d4de13c1fc637a51e5f65b6ba13a305b318ce
parentd9a849a7338b45bf9f95128584538d7b02b76ee6
vala: Add Block.unreachable_exit and have it set accordingly by FlowAnalyzer

Use this control flow information in codegen rather than doing an
educated guess based on occurring ReturnStatement nodes.

See https://gitlab.gnome.org/GNOME/vala/issues/838
codegen/valaccodebasemodule.vala
vala/valablock.vala
vala/valaflowanalyzer.vala