зеркало из https://github.com/mozilla/gecko-dev.git
Bug 743559 - Remove unused JSRuntime::xml_singleton fields. r=:Waldo
The patch removes unused anynameObject and functionNamespaceObject fields in JSRuntime.
This commit is contained in:
Родитель
4c773ba6d8
Коммит
abf01f2000
|
@ -781,8 +781,6 @@ JSRuntime::JSRuntime()
|
|||
thousandsSeparator(0),
|
||||
decimalSeparator(0),
|
||||
numGrouping(0),
|
||||
anynameObject(NULL),
|
||||
functionNamespaceObject(NULL),
|
||||
waiveGCQuota(false),
|
||||
dtoaState(NULL),
|
||||
pendingProxyOperation(NULL),
|
||||
|
|
|
@ -566,16 +566,6 @@ struct JSRuntime : js::RuntimeFriendFields
|
|||
const char *decimalSeparator;
|
||||
const char *numGrouping;
|
||||
|
||||
/*
|
||||
* Weak references to lazily-created, well-known XML singletons.
|
||||
*
|
||||
* NB: Singleton objects must be carefully disconnected from the rest of
|
||||
* the object graph usually associated with a JSContext's global object,
|
||||
* including the set of standard class objects. See jsxml.c for details.
|
||||
*/
|
||||
JSObject *anynameObject;
|
||||
JSObject *functionNamespaceObject;
|
||||
|
||||
/*
|
||||
* Flag indicating that we are waiving any soft limits on the GC heap
|
||||
* because we want allocations to be infallible (except when we hit OOM).
|
||||
|
|
Загрузка…
Ссылка в новой задаче