summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorRichard Jones <richard@commonground.com.au>2006-05-23 10:37:38 (GMT)
committerRichard Jones <richard@commonground.com.au>2006-05-23 10:37:38 (GMT)
commit7c88dcc5aba28570ef7c1a957baaceb6e47cfc41 (patch)
tree221340a23aa7fb642a5d30076527254d221025b0 /Include
parent833bf9422ea436774396f435e04fc3b927a16b88 (diff)
downloadcpython-7c88dcc5aba28570ef7c1a957baaceb6e47cfc41.zip
cpython-7c88dcc5aba28570ef7c1a957baaceb6e47cfc41.tar.gz
cpython-7c88dcc5aba28570ef7c1a957baaceb6e47cfc41.tar.bz2
Merge from rjones-funccall branch.
Applied patch zombie-frames-2.diff from sf patch 876206 with updates for Python 2.5 and also modified to retain the free_list to avoid the 67% slow-down in pybench recursion test. 5% speed up in function call pybench.
Diffstat (limited to 'Include')
-rw-r--r--Include/code.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/code.h b/Include/code.h
index e9b7906..334ebab 100644
--- a/Include/code.h
+++ b/Include/code.h
@@ -24,6 +24,7 @@ typedef struct {
PyObject *co_name; /* string (name, for reference) */
int co_firstlineno; /* first source line number */
PyObject *co_lnotab; /* string (encoding addr<->lineno mapping) */
+ void *co_zombieframe; /* for optimization only (see frameobject.c) */
} PyCodeObject;
/* Masks for co_flags above */