ec77e28f26
Instead of switching over each of the different callback types and duplicating the call-dart-spill-call-runtime-restore in the stub, have the initial runtime call return a function pointer for the runtime call to end that kind of callback. A separate case for tail calls is still needed. TEST=ci Change-Id: I691487ca12337ddef1adaeec4c163c56e2feb09e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/488261 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>