Bug 1434270 - Pull BaselineStubFrame back to SharedICHelpers-mips-shared.h. r=nbp

This commit is contained in:
Dragan Mladjenovic 2018-01-30 10:25:31 -05:00
Родитель c12e79ae0f
Коммит 8dfe56019b
2 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@ -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)
{