15818c52d8
There's various components in the code generation that should not depend on the current function. This is especially relevant when inlining, as we want to emit wasm for the inlined body in the context of an unrelated caller function. The codegen for the inlined body should therefore not be aware or require knowing anything about the function it's being inlined into. Also results in net removal of code. Change-Id: I808b6f10fa3f262ec7e0b5a4b2b6e42d60ff6582 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/378144 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Ömer Ağacan <omersa@google.com>