зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1661256 part 29 - Convert LazyLinkTopActivation callWithABI calls. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D91809
This commit is contained in:
Родитель
4f80f732cd
Коммит
2959ab045c
|
@ -28,6 +28,7 @@
|
|||
#include "jit/Bailouts.h" // js::jit::FinishBailoutToBaseline, js::jit::Bailout,
|
||||
// js::jit::InvalidationBailout
|
||||
|
||||
#include "jit/Ion.h" // js::jit::LazyLinkTopActivation
|
||||
#include "jit/JitFrames.h" // HandleException
|
||||
#include "jit/VMFunctions.h" // Rest of js::jit::* functions.
|
||||
|
||||
|
@ -114,6 +115,7 @@ namespace jit {
|
|||
_(js::jit::HasNativeElementPure) \
|
||||
_(js::jit::InitBaselineFrameForOsr) \
|
||||
_(js::jit::InvalidationBailout) \
|
||||
_(js::jit::LazyLinkTopActivation) \
|
||||
_(js::jit::Printf0) \
|
||||
_(js::jit::Printf1) \
|
||||
_(js::jit::SetNativeDataPropertyPure<false>) \
|
||||
|
|
|
@ -9918,12 +9918,12 @@ void JitRuntime::generateLazyLinkStub(MacroAssembler& masm) {
|
|||
masm.enterFakeExitFrame(temp0, temp2, ExitFrameType::LazyLink);
|
||||
masm.moveStackPtrTo(temp1);
|
||||
|
||||
using Fn = uint8_t* (*)(JSContext * cx, LazyLinkExitFrameLayout * frame);
|
||||
masm.setupUnalignedABICall(temp2);
|
||||
masm.passABIArg(temp0);
|
||||
masm.passABIArg(temp1);
|
||||
masm.callWithABI(JS_FUNC_TO_DATA_PTR(void*, LazyLinkTopActivation),
|
||||
MoveOp::GENERAL,
|
||||
CheckUnsafeCallWithABI::DontCheckHasExitFrame);
|
||||
masm.callWithABI<Fn, LazyLinkTopActivation>(
|
||||
MoveOp::GENERAL, CheckUnsafeCallWithABI::DontCheckHasExitFrame);
|
||||
|
||||
masm.leaveExitFrame();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче