-
Benedikt Meurer authored
This is a port of the improvements to the ArgumentsAdaptorTrampoline that previously landed for x64. It skips the arguments adaptor frame creation if the callee cannot observe the actual arguments (as indicated by the "is_safe_to_skip_arguments_adaptor" bit on the SharedFunctionInfo), and instead just massages the current stack frame appropriately (either by pushing more undefineds in case of under application, or by removing the superfluous arguments in case of over application). Bug: v8:8895 Doc: http://bit.ly/v8-faster-calls-with-arguments-mismatch Change-Id: I96a0425d390f041001df0356d4bfd71ad1e98b5a Reviewed-on: https://chromium-review.googlesource.com/c/1491592Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/master@{#59918}
4f62b4bb