1
0
forked from mirrors/0ad

Fix ABI incompatibility with --with-system-mozjs185 in debug mode (see #990).

This was SVN commit r10535.
This commit is contained in:
Ykkrosh
2011-11-14 18:18:04 +00:00
parent ed5a64aae4
commit 5bd7b74ec7
5 changed files with 32 additions and 4 deletions
+1 -1
View File
@@ -1099,7 +1099,7 @@ void* ScriptInterface::GetPrivate(JSContext* cx, JSObject* obj)
void ScriptInterface::DumpHeap()
{
#ifdef DEBUG
#if MOZJS_DEBUG_ABI
JS_DumpHeap(m->m_cx, stderr, NULL, 0, NULL, (size_t)-1, NULL);
#endif
fprintf(stderr, "# Bytes allocated: %d\n", JS_GetGCParameter(GetRuntime(), JSGC_BYTES));