PRInt32 serialno = GetSerialNumber(aObject, PR_FALSE);
PRInt32 serialno = GetSerialNumber(object, PR_FALSE);
nsTraceRefcnt::LogReleaseCOMPtr(void* aCOMPtr,                                void* aObject){#ifdef NS_BUILD_REFCNT_LOGGING  // This is a very indirect way of finding out what the class is  // of the object being logged.  If we're logging a specific type,  // then   if (!gTypesToLog || !gSerialNumbers) {    return;  }  PRInt32 serialno = GetSerialNumber(aObject, PR_FALSE);  if (serialno == 0) {    return;  }  if (!gInitialized)    InitTraceLog();  if (gLogging) {    LOCK_TRACELOG();    PRInt32* count = GetCOMPtrCount(aObject);    if(count)      (*count)--;#ifndef NS_LOSING_ARCHITECTURE    PRBool loggingThisObject = (!gObjectsToLog || LogThisObj(serialno));    if (gCOMPtrLog && loggingThisObject) {      fprintf(gCOMPtrLog, "\n<?> 0x%08X %d nsCOMPtrRelease %d 0x%08X\n",              PRInt32(aObject), serialno, count?(*count):-1, PRInt32(aCOMPtr));      WalkTheStack(gCOMPtrLog);    }#endif    UNLOCK_TRACELOG();  }#endif}