6ec75a705e
In Native and JS, there is a special logic where the compiler saves a copy of inlined function (see `InlineFunctionsSupport`). This copy is used in the IR inliner. Because of that, we can't really compare inlined function with other functions directly. We need to get `originalFunction` first and save it.