mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 550796 - TM: remove dead ImportGlobalSlotVisitor class. r=lw.
This commit is contained in:
parent
f7c713fc2d
commit
3e03ef3a42
@ -3403,28 +3403,6 @@ TraceRecorder::import(LIns* base, ptrdiff_t offset, jsval* p, TraceType t,
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
class ImportGlobalSlotVisitor : public SlotVisitorBase
|
|
||||||
{
|
|
||||||
TraceRecorder &mRecorder;
|
|
||||||
LIns *mBase;
|
|
||||||
TraceType *mTypemap;
|
|
||||||
public:
|
|
||||||
ImportGlobalSlotVisitor(TraceRecorder &recorder,
|
|
||||||
LIns *base,
|
|
||||||
TraceType *typemap) :
|
|
||||||
mRecorder(recorder),
|
|
||||||
mBase(base),
|
|
||||||
mTypemap(typemap)
|
|
||||||
{}
|
|
||||||
|
|
||||||
JS_REQUIRES_STACK JS_ALWAYS_INLINE void
|
|
||||||
visitGlobalSlot(jsval *vp, unsigned n, unsigned slot) {
|
|
||||||
JS_ASSERT(*mTypemap != TT_JSVAL);
|
|
||||||
mRecorder.import(mBase, mRecorder.nativeGlobalOffset(vp),
|
|
||||||
vp, *mTypemap++, "global", n, NULL);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
class ImportBoxedStackSlotVisitor : public SlotVisitorBase
|
class ImportBoxedStackSlotVisitor : public SlotVisitorBase
|
||||||
{
|
{
|
||||||
TraceRecorder &mRecorder;
|
TraceRecorder &mRecorder;
|
||||||
|
Loading…
Reference in New Issue
Block a user