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:
Igor Bukanov 2012-04-10 11:57:29 +02:00
Родитель 4c773ba6d8
Коммит abf01f2000
2 изменённых файлов: 0 добавлений и 12 удалений

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

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