Windows-specific warning patrol. No bug, r=themaid

--HG--
extra : rebase_source : c0f13210632a661bdeb560e397a24476e754816d
This commit is contained in:
Jeff Walden 2012-02-25 01:59:12 -08:00
Родитель 6efc9d9ae6
Коммит dbe9d9c7f5
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -970,7 +970,7 @@ JSContext::JSContext(JSRuntime *rt)
stack(thisDuringConstruction()), /* depends on cx->thread_ */
parseMapPool_(NULL),
globalObject(NULL),
sharpObjectMap(this),
sharpObjectMap(thisDuringConstruction()),
argumentFormatMap(NULL),
lastMessage(NULL),
errorReporter(NULL),

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

@ -1031,7 +1031,7 @@ SuppressDeletedPropertyHelper(JSContext *cx, JSObject *obj, StringPredicate pred
* Invoke the write barrier on this element, since it's
* no longer going to be marked.
*/
ni->props_end->HeapPtr<JSFlatString>::~HeapPtr<JSFlatString>();
ni->props_end->HeapPtr<JSFlatString>::~HeapPtr();
}
/* Don't reuse modified native iterators. */