зеркало из https://github.com/mozilla/pjs.git
Do not secretly write to /tmp in DEBUG builds unless your name is brendan. (Leave the basic stats code ifdef'd on for everyone though, to help avoid bitrot.) No bug, r=Waldo.
This commit is contained in:
Родитель
f18977ad81
Коммит
23b43f0a7c
|
@ -317,7 +317,7 @@ typedef struct InterpStruct InterpStruct;
|
|||
# define JS_ON_TRACE(cx) JS_FALSE
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef DEBUG_brendan
|
||||
# define JS_EVAL_CACHE_METERING 1
|
||||
# define JS_FUNCTION_METERING 1
|
||||
#endif
|
||||
|
|
|
@ -110,11 +110,10 @@ extern JS_PUBLIC_API(void) JS_Abort(void);
|
|||
|
||||
#ifdef DEBUG
|
||||
# define JS_BASIC_STATS 1
|
||||
# define JS_SCOPE_DEPTH_METER 1
|
||||
#endif
|
||||
|
||||
#if defined DEBUG && !defined JS_BASIC_STATS
|
||||
# define JS_BASIC_STATS 1
|
||||
#ifdef DEBUG_brendan
|
||||
# define JS_SCOPE_DEPTH_METER 1
|
||||
#endif
|
||||
|
||||
#ifdef JS_BASIC_STATS
|
||||
|
|
Загрузка…
Ссылка в новой задаче