The R Project SVN R

Rev

Rev 86647 | Rev 87740 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 86647 Rev 87120
Line 194... Line 194...
194
#ifndef R_MEMORY_PROFILING
194
#ifndef R_MEMORY_PROFILING
195
attribute_hidden void memtrace_report(void* old, void *_new) {
195
attribute_hidden void memtrace_report(void* old, void *_new) {
196
    return;
196
    return;
197
}
197
}
198
#else
198
#else
199
attribute_hidden static void memtrace_stack_dump(void)
199
static void memtrace_stack_dump(void)
200
{
200
{
201
    RCNTXT *cptr;
201
    RCNTXT *cptr;
202
 
202
 
203
    for (cptr = R_GlobalContext; cptr; cptr = cptr->nextcontext) {
203
    for (cptr = R_GlobalContext; cptr; cptr = cptr->nextcontext) {
204
	if ((cptr->callflag & (CTXT_FUNCTION | CTXT_BUILTIN))
204
	if ((cptr->callflag & (CTXT_FUNCTION | CTXT_BUILTIN))