зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1434270 - Pull BaselineStubFrame back to SharedICHelpers-mips-shared.h. r=nbp
This commit is contained in:
Родитель
c12e79ae0f
Коммит
8dfe56019b
|
@ -80,17 +80,6 @@ EmitBaselineCallVM(TrampolinePtr target, MacroAssembler& masm)
|
|||
masm.call(target);
|
||||
}
|
||||
|
||||
struct BaselineStubFrame {
|
||||
uintptr_t savedFrame;
|
||||
uintptr_t savedStub;
|
||||
uintptr_t returnAddress;
|
||||
uintptr_t descriptor;
|
||||
};
|
||||
|
||||
// Size of values pushed by EmitBaselineEnterStubFrame.
|
||||
static const uint32_t STUB_FRAME_SIZE = sizeof(BaselineStubFrame);
|
||||
static const uint32_t STUB_FRAME_SAVED_STUB_OFFSET = offsetof(BaselineStubFrame, savedStub);
|
||||
|
||||
inline void
|
||||
EmitBaselineEnterStubFrame(MacroAssembler& masm, Register scratch)
|
||||
{
|
||||
|
|
|
@ -19,6 +19,17 @@ namespace jit {
|
|||
// the stack on MIPS).
|
||||
static const size_t ICStackValueOffset = 0;
|
||||
|
||||
struct BaselineStubFrame {
|
||||
uintptr_t savedFrame;
|
||||
uintptr_t savedStub;
|
||||
uintptr_t returnAddress;
|
||||
uintptr_t descriptor;
|
||||
};
|
||||
|
||||
// Size of values pushed by EmitBaselineEnterStubFrame.
|
||||
static const uint32_t STUB_FRAME_SIZE = sizeof(BaselineStubFrame);
|
||||
static const uint32_t STUB_FRAME_SAVED_STUB_OFFSET = offsetof(BaselineStubFrame, savedStub);
|
||||
|
||||
inline void
|
||||
EmitRestoreTailCallReg(MacroAssembler& masm)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче