Inlining Code 2
08/23/2020
This post is the second part of a 2 posts long series, discussing inlining in relation to DCE and exception handling.
Introduction
This post is about code inlinig by the JIT compiler and Dead Code Elimination (DCE).
Code Inline: call of the method at the callsite is replaced with the invoked method body.
DCE: Modern compilers are smart enough to detect code segments, that has no effects, hence they can be removed.