diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-10-14 21:33:38 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-10-14 21:33:38 (GMT) |
commit | cbeb687c687e6edebd3afdb63be0a623294e744c (patch) | |
tree | 273d96ffef6560a4991173538ec512cdabf2cd79 /Python/import.c | |
parent | 5a72372329e0c6a47d226cdc33f7a22e424bb0d0 (diff) | |
download | cpython-cbeb687c687e6edebd3afdb63be0a623294e744c.zip cpython-cbeb687c687e6edebd3afdb63be0a623294e744c.tar.gz cpython-cbeb687c687e6edebd3afdb63be0a623294e744c.tar.bz2 |
Update the peephole optimizer to remove more dead code (jumps after returns)
and inline jumps to returns.
Diffstat (limited to 'Python/import.c')
-rw-r--r-- | Python/import.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c index a90729a..45c5507 100644 --- a/Python/import.c +++ b/Python/import.c @@ -65,9 +65,10 @@ extern time_t PyOS_GetLastModificationTime(char *, FILE *); Python 2.5c1: 62121 (fix wrong lnotab with for loops and storing constants that should have been removed) Python 2.5c2: 62131 (fix wrong code: for x, in ... in listcomp/genexp) + Python 2.6a0: 62141 (peephole optimizations) . */ -#define MAGIC (62131 | ((long)'\r'<<16) | ((long)'\n'<<24)) +#define MAGIC (62141 | ((long)'\r'<<16) | ((long)'\n'<<24)) /* Magic word as global; note that _PyImport_Init() can change the value of this global to accommodate for alterations of how the |