зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1661256 part 34 - Convert InvokeFomInterpreterStub callWithABI call. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D91814
This commit is contained in:
Родитель
83bfd111d3
Коммит
f842eb0ac4
|
@ -127,6 +127,7 @@ namespace jit {
|
|||
_(js::jit::HasNativeElementPure) \
|
||||
_(js::jit::InitBaselineFrameForOsr) \
|
||||
_(js::jit::InvalidationBailout) \
|
||||
_(js::jit::InvokeFromInterpreterStub) \
|
||||
_(js::jit::LazyLinkTopActivation) \
|
||||
_(js::jit::PostGlobalWriteBarrier) \
|
||||
_(js::jit::PostWriteBarrier) \
|
||||
|
|
|
@ -9957,12 +9957,12 @@ void JitRuntime::generateInterpreterStub(MacroAssembler& masm) {
|
|||
masm.enterFakeExitFrame(temp0, temp2, ExitFrameType::InterpreterStub);
|
||||
masm.moveStackPtrTo(temp1);
|
||||
|
||||
using Fn = bool (*)(JSContext * cx, InterpreterStubExitFrameLayout * frame);
|
||||
masm.setupUnalignedABICall(temp2);
|
||||
masm.passABIArg(temp0);
|
||||
masm.passABIArg(temp1);
|
||||
masm.callWithABI(JS_FUNC_TO_DATA_PTR(void*, InvokeFromInterpreterStub),
|
||||
MoveOp::GENERAL,
|
||||
CheckUnsafeCallWithABI::DontCheckHasExitFrame);
|
||||
masm.callWithABI<Fn, InvokeFromInterpreterStub>(
|
||||
MoveOp::GENERAL, CheckUnsafeCallWithABI::DontCheckHasExitFrame);
|
||||
|
||||
masm.branchIfFalseBool(ReturnReg, masm.failureLabel());
|
||||
masm.leaveExitFrame();
|
||||
|
|
Загрузка…
Ссылка в новой задаче