This is one of a sequence of PRs designed to make progress towards generating stack maps so that we can trigger the GC during allocation rather than in between rewrite steps only. The first few PRs will be preliminaries that add small features that will be used by future PRs.
In this PR we simply add the noreturn attribute to the call site of the finish_rewriting function so that llvm is able to statically understand that the unreachable instruction after the call site is in fact unreachable.
This is one of a sequence of PRs designed to make progress towards generating stack maps so that we can trigger the GC during allocation rather than in between rewrite steps only. The first few PRs will be preliminaries that add small features that will be used by future PRs.
In this PR we simply add the
noreturn
attribute to the call site of thefinish_rewriting
function so that llvm is able to statically understand that theunreachable
instruction after the call site is in fact unreachable.