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
+2 -2
View File
@@ -274,7 +274,7 @@ JSBool GetBuildTimestamp(JSContext* cx, uintN argc, jsval* vp)
return JS_TRUE;
}
#ifdef DEBUG
#if MOZJS_DEBUG_ABI
void DumpHeap(const char* basename, int idx, JSContext* cx)
{
char filename[64];
@@ -292,7 +292,7 @@ JSBool DumpHeaps(JSContext* cx, uintN argc, jsval* vp)
UNUSED2(cx);
UNUSED2(argc);
#ifdef DEBUG
#if MOZJS_DEBUG_ABI
static int i = 0;
if (ScriptingHost::IsInitialised())