fix heuristic for caching stack traces

This commit is contained in:
Matthew Flatt 2010-07-21 12:35:22 -06:00
parent ae99d4e5bc
commit 9fc9d9582e
2 changed files with 3 additions and 3 deletions

View File

@ -13577,7 +13577,7 @@ typedef void *(*Get_Stack_Proc)();
# define RETURN_ADDRESS_OFFSET 1 # define RETURN_ADDRESS_OFFSET 1
#endif #endif
#define CACHE_STACK_MIN_TRIGGER 1024 #define CACHE_STACK_MIN_TRIGGER 128
#define USE_STACK_CHECK 0 #define USE_STACK_CHECK 0

View File

@ -39,10 +39,10 @@
#ifdef STACK_GROWS_UP #ifdef STACK_GROWS_UP
# define STK_COMP(a,b) ((a) > (b)) # define STK_COMP(a,b) ((a) > (b))
# define STK_DIFF(a, b) ((a) - (b)) # define STK_DIFF(a, b) ((b) - (a))
#else #else
# define STK_COMP(a,b) ((a) < (b)) # define STK_COMP(a,b) ((a) < (b))
# define STK_DIFF(a, b) ((b) - (a)) # define STK_DIFF(a, b) ((a) - (b))
#endif #endif
#ifdef SHORT_ALIGN #ifdef SHORT_ALIGN