mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 784608 (part 8) - Remove FunctionBox::parent. r=luke.
--HG-- extra : rebase_source : 4cd9ee4acfdbcd262967fbebf536e8713abd5b56
This commit is contained in:
parent
86ce71fef2
commit
3eb58b0432
@ -392,7 +392,6 @@ FunctionBox::FunctionBox(ObjectBox* traceListHead, JSObject *obj, ParseContext *
|
||||
: ObjectBox(traceListHead, obj),
|
||||
siblings(outerpc->functionList),
|
||||
kids(NULL),
|
||||
parent(outerpc->sc->inFunction() ? outerpc->sc->funbox() : NULL),
|
||||
bindings(),
|
||||
bufStart(0),
|
||||
bufEnd(0),
|
||||
@ -4910,7 +4909,6 @@ CompExprTransplanter::transplant(ParseNode *pn)
|
||||
funboxp = &(*funboxp)->siblings;
|
||||
*funboxp = funbox->siblings;
|
||||
|
||||
funbox->parent = parent;
|
||||
funbox->siblings = parent->kids;
|
||||
parent->kids = funbox;
|
||||
}
|
||||
|
@ -293,7 +293,6 @@ struct FunctionBox : public ObjectBox
|
||||
{
|
||||
FunctionBox *siblings;
|
||||
FunctionBox *kids;
|
||||
FunctionBox *parent;
|
||||
Bindings bindings; /* bindings for this function */
|
||||
size_t bufStart;
|
||||
size_t bufEnd;
|
||||
|
Loading…
Reference in New Issue
Block a user