зеркало из https://github.com/mozilla/pjs.git
Bug 195289 Enable people to use DumpJSStack and friends from nondebug builds if they list themselves as xpc_hackers
r=dbradley sr=jst
This commit is contained in:
Родитель
bb2dc7a28b
Коммит
7f71c61b64
|
@ -33,8 +33,8 @@
|
|||
* file under either the NPL or the GPL.
|
||||
*/
|
||||
|
||||
#ifdef DEBUG
|
||||
#include "xpcprivate.h"
|
||||
#if defined(DEBUG_xpc_hacker) || defined(DEBUG)
|
||||
|
||||
#ifdef TAB
|
||||
#undef TAB
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
|
||||
// Note that one would not normally turn *any* of these on in a non-DEBUG build.
|
||||
|
||||
#if defined(DEBUG_jband) || defined(DEBUG_jst) || defined(DEBUG_dbradley) || defined(DEBUG_shaver)
|
||||
#if defined(DEBUG_jband) || defined(DEBUG_jst) || defined(DEBUG_dbradley) || defined(DEBUG_shaver) || defined(DEBUG_timeless)
|
||||
#define DEBUG_xpc_hacker
|
||||
#endif
|
||||
|
||||
|
@ -1643,7 +1643,7 @@ protected:
|
|||
const XPCNativeScriptableCreateInfo* scriptableCreateInfo);
|
||||
|
||||
private:
|
||||
#ifdef DEBUG
|
||||
#if defined(DEBUG_xpc_hacker) || defined(DEBUG)
|
||||
static PRInt32 gDEBUG_LiveProtoCount;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
#include "xpcprivate.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#if defined(DEBUG_xpc_hacker) || defined(DEBUG)
|
||||
PRInt32 XPCWrappedNativeProto::gDEBUG_LiveProtoCount = 0;
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче