Bug 1889091 - Part 6: Remove "scratch" register parameter from emitPushArguments...
commit114f466da6f96e9c6eb90fabefa0b17e19db4c14
authorAndré Bargull <andre.bargull@gmail.com>
Sat, 6 Apr 2024 13:38:30 +0000 (6 13:38 +0000)
committerAndré Bargull <andre.bargull@gmail.com>
Sat, 6 Apr 2024 13:38:30 +0000 (6 13:38 +0000)
treecf02653183a005544a0050987510895ba55d3fc5
parent889d825c9c5c311e91a2d5a12c175e6e366f2182
Bug 1889091 - Part 6: Remove "scratch" register parameter from emitPushArguments. r=jandem

It was useful to use an explicit parameter when `scratch` was used to hold the
extra stack space. But now that we no longer have to compute the extra stack
space, it's no longer necessary to have an out-param and we can instead use a
local variable similar to how `ToRegister(apply->getTempObject())` is used.

Depends on D206355

Differential Revision: https://phabricator.services.mozilla.com/D206356
js/src/jit/CodeGenerator.cpp
js/src/jit/CodeGenerator.h